Hello,I was trying this question and thought to use Dynamic programming but it will exceed memory limit.Can anybody give me a sight how to solve this question.
Little help needed in this question :)
Hello,I was trying this question and thought to use Dynamic programming but it will exceed memory limit.Can anybody give me a sight how to solve this question.