Partition Array Into Three Parts With Equal Sum — CaffeCode