Problem 1991 · Easy

Find the Middle Index in Array

Find the leftmost index where the sum to its left equals the sum to its right. The visual tracks running prefix sums and compares them as the index moves.

Open the interactive visualisation