Dynamic Programming - Line of Thought

Hello LeetCode Community,

I have been trying to learn Dynamic Programming and solved a lot of problems. But it is very hard for me to come up with optimal solutions. I have also taken the course- Grokk** but somehow fail to come up with the recurrence relation for problems like -> Minimum Swap to make sequence increasing or
New21 Game or Minimum Window Subsequence.

It would be great if there were any resources or tutorials which can help.

Comments (1)