three-parts-nonempty-guarantee

Status: IN

The loop bound `range(len(arr) - 1)` ensures the third partition always contains at least one element when True is returned

Source: entries/2026/06/06/partition-array-into-three-parts-with-equal-sum-solution.md

JSON