LeetCode Question · Dec 2019 · India

Microsoft | Place Maximum Flags on Peaks

5 upvotes 861 views 5 replies

Question Details

Asked in: Group Fly round during on-campus hiring, India. We are given an array A of size N. A peak is defined as an element that is greater than both its neighbors,...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays