{"id":"three-parts-nonempty-guarantee","text":"The loop bound `range(len(arr) - 1)` ensures the third partition always contains at least one element when True is returned","truth_value":"IN","source":"entries/2026/06/06/partition-array-into-three-parts-with-equal-sum-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"three-parts-nonempty-guarantee","truth_value":"IN","reason":"premise"}]}}