Partition Array Into Three Parts With Equal Sum
Decide whether two cuts split the array into three nonempty pieces of equal sum. The visual marks the running total and the cut points as the scan moves forward.
Decide whether two cuts split the array into three nonempty pieces of equal sum. The visual marks the running total and the cut points as the scan moves forward.