← Microsoft questions
CodingReported in a candidate post, May 2024

Find Peak Element

Filed under Microsoft · Also reported at Arcesium, Box8, Increff

A peak element is an element that is strictly greater than its neighbors. Given an integer array nums, find a peak element, and return its index. If the array contains multiple peaks, return the index…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.