Tripadvisor Interview Question

Find the second max number in an unsorted array

Interview Answer

Anonymous

May 1, 2017

This can be solved with a max heap (priority queues in java).