You are viewing a single comment's thread. Return to all comments →
How about 2 iteration over the array. First to find the maximum ele. Second to find the second max ele.
Seems like cookies are disabled on this browser, please enable them to open this website
Find the Runner-Up Score!
You are viewing a single comment's thread. Return to all comments →
How about 2 iteration over the array. First to find the maximum ele. Second to find the second max ele.