Hi, i was solving this question http://www.codechef.com/DTCT2015/problems/SUPERCUP but i can only think of recursive solution . Can anyone please tell me how to solve it using DP or any other approaches.
Thanks.
Hi, i was solving this question http://www.codechef.com/DTCT2015/problems/SUPERCUP but i can only think of recursive solution . Can anyone please tell me how to solve it using DP or any other approaches.
Thanks.