← Microsoft questions

Find indices where left sum equals right sum

Filed under Microsoft

Given an array of integers `nums`, return all 0-based indices `i` where the sum of all elements strictly to the left of index `i` equals the sum of all elements strictly to the right of index `i`. If…

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

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