Reddit Experience · Aug 2025

Amazon Interview question - how do you solve this?

5 upvotes 13 replies

Interview Experience

The question is you have an array of nums, you can perform operations on it. In each operation, you can select a subarray and increase all elements by 1 or decrease by 1. What are the min operations t

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays Sql