LeetCode Question · Jul 2022 · San Francisco

AWS | L5 | Phone Screen | June 2022 | Reject

SWE Phone Screen Senior
4 upvotes 614 views 5 replies

Question Details

Find minimum number of operations to make the array consecutively increasing or consecutively decreasing. You can only add 1 to each element, cannot subtract.Adding 1 is counted as 1 move....

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays