CodingReported in a candidate post, Aug 2022
Print all subarrays having sum zero
Filed under Tekion
The question
Given an array consisting of integers -1, 1, and 0, find and print all contiguous subarrays whose elements sum up to 0.
No write-up yet. Related questions below have one.
Related Tekion questions
Collected from public candidate posts and coding forums. Updated Nov 2026.