LeetCode Question · Jun 2024 · San Francisco

Amazon | Online Assignment | Max Negatives

8 upvotes 1,676 views 12 replies

Question Details

Description Given a sequence of n natural numbers a_1, a_2, ... a_n, you are to assign a sign (+ or -) to each a_isuch that the cumulative sum of the signed...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays