Coding Challenge · INTERMEDIATE
Given a mountain array where each element is unique and the array first increases to a peak and then decreases, find the index of the peak element. A mountain array is defined as an array where there exists some index i (0 < i < nums.length - 1) such that nums0 < nums1 < ... < numsi-1 < numsi numsi+1 ... numsnums.lengt…