help me to remove tle so as to get the answer
To remove tle for test case
hello @singh.pankhil40
use dynamic programming to pass all test cases.
recursive solution has exponential time comlexity that is why it is giving tle
but i haven’t studied dyanmic programming
ok then try this problem after studying dp