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.
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.