PayPal interview question

Divide array into equal sum sub arrays.