1013. Partition Array Into Three Parts With Equal Sum
Description
**Input:** arr = [0,2,1,-6,6,-7,9,1,2,0,1]
**Output:** true
**Explanation:** 0 + 2 + 1 = -6 + 6 - 7 + 9 + 1 = 2 + 0 + 1**Input:** arr = [0,2,1,-6,6,7,9,-1,2,0,1]
**Output:** false**Input:** arr = [3,3,6,5,-2,2,5,1,-9,4]
**Output:** true
**Explanation:** 3 + 3 = 6 = 5 - 2 + 2 + 5 + 1 - 9 + 4ac
Last updated