Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 941. Valid Mountain Array
Check whether the array has length at least 3 and there exists a single peak index 0 < i < n-1 such that the values strictly increase up to i and then strictly decrease after i. In other words, verify the sequence is strictly increasing then strictly decreasing with the peak not at an endpoint.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.