← Nagarro questions

Find all subsets with zero sum in a 1D array

Filed under Nagarro

Given an array of integers, find all non-empty subsets whose elements sum up to zero. A subset is a selection of elements from the array where the order does not matter and elements do not need to be…

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 Nagarro questions

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