Hi guys,
I want to find N max elements in unsorted array of integers in most efficient way as possible.
I could sort and then find the max elements but there should be some of optimising the performance.
Any Ideas are very much appreciated.
Cheers
B
I want to find N max elements in unsorted array of integers in most efficient way as possible.
I could sort and then find the max elements but there should be some of optimising the performance.
Any Ideas are very much appreciated.
Cheers
B