How to solve this DP problem?
How to solve this problem?
I am having troubles understanding its editorial
Thanks