Leetcode: Find Peak Element

Problem Statement: