DataVisor Interview Question

Find the longest mountain in the given array.

Interview Answer

Anonymous

Jan 24, 2020

one pass traverse the array with two pointers.