LeetCode
Partition Array Into Three Parts With Equal Sum
Click
here
for an explanation.