some one please help me how to approach http://www.spoj.com/problems/LPPP problem. I am not getting any idea how to solve this problem. Although i have read about how to divide an array into two sets of equal sum using dynamic programming but not able to get this one.