DataVisor interview question

Find the longest mountain in the given array.

Interview Answer

Anonymous

24 Jan 2020

one pass traverse the array with two pointers.