Debug Segment Tree Code
Filed under Nutanix
The question
Find the bug in an erroneous segment tree implementation printed on paper and write the corrected code.
No write-up yet. Related questions below have one.
Related Nutanix questions
Collected from public candidate posts and coding forums. Updated Nov 2026.