Find Local Minimum
CodingOnsiteSoftware Engineer, Machine Learning EngineerReported Aug, 2026High Frequency
Company question banks are included with the Insider plan.
A local minimum is an element that is strictly smaller than both of its neighbors.
Given a 0-indexed integer array nums, find a local minimum and return its index. If the array contains...