LeetCode
Question
·
Oct 2021
Uber| OA|SDE2
2 upvotes
1,487 views
2 replies
Question Details
Iterate through array \'a\' and return another array b of length a.length -2, where b[i] = 1 if a[i-1]<a[i]>a[i+1] or a[i-1]>a[i]<a[i+1]. 2. given an array element. Find if 1 or...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Arrays
Matrix