Find Peak Element
Given an integer array in which adjacent values differ, return any index whose value is greater than both neighbors, treating positions outside the array as negative infinity.
Given an integer array in which adjacent values differ, return any index whose value is greater than both neighbors, treating positions outside the array as negative infinity.