Problem 724 · Easy

Find Pivot Index

Find the position where the sum to its left equals the sum to its right. The visual keeps a running left total while the right total shrinks.

Open the interactive visualisation