GeeksforGeeks » C/C++ Programming Questions
Efficient program to find 2nd largest
(2 posts)-
How can we find the 2nd largest element in an unsorted array without ever using sorting algorithms. The array also contains repeated elements.
Any thoughts??
Tks.. -
The following post will be helpful.
http://geeksforgeeks.org/?p=4184
Change the comparison operators to address the question. There are different ways. Explore on Net.
Reply
You must log in to post.