Need help on this problem. Unable to understand how to solve it using dynamic programming approach (for 1<n<200) even after reading the editorial.
Need help on this problem. Unable to understand how to solve it using dynamic programming approach (for 1<n<200) even after reading the editorial.