โ† Amazon questions

Subset with zero sum after negation

Filed under Amazon

Given an array of integers, determine if there exists a subset of elements such that if we negate their signs, the total sum of all elements in the array becomes zero.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.