Status: IN
In `pivotIndex`, `left_sum += num` occurs *after* the equality check — this ordering is a critical invariant ensuring the pivot element is excluded from both the left and right sums.
Source: entries/2026/06/06/find-pivot-index-solution.md
JSON