โ† Delhivery questions

Find subarrays with zero sum and their indices

Filed under Delhivery

The question

Given an array, find all subarrays whose sum is zero and print the starting and ending indices of each such subarray.

No write-up yet. Related questions below have one.

Related Delhivery questions

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