How to find the top n elements without sorting the array?
Is this possible???
Well I don't want to sort the array because the order is mandatory? After I have found the top n elements I want to modify them?
Is there any certain algorithM?? Help ???
this is no homework , hints are appreciated