LeetCode Experience · Jul 2021

Facebook Full Interview Cycle

SWE System Design Easy
65 upvotes 5,999 views 16 replies

Interview Experience

Screen: Print all the peaks and valleys in an array with integers that are +/- 1 from its neighbors. a[i] = a[i+1] +/-1 The edges of the array are not considered peaks/valleys. E.g. 1,2,3,2,3,2...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays Graph Sql Strings Binary Tree Sorting Binary Search System Design Dynamic Programming Backtracking Queue Recursion Stack