Status: IN
Index 0 and index n-1 are valid pivot positions without special-case code because `left_sum` starts at 0 and the right sum is computed algebraically — empty-side sums are implicitly zero.
Source: entries/2026/06/06/find-pivot-index-solution.md
JSON