Amazon Interview Question

Tallest peak problem in an array