Not able to think of solution in Dynamic programming

I am not able to think of any OPTIMIZED solutions by DP to the problems . Getting demotivated while doing questions.
please help how I can solve this issue and get Better at Dynamic Programming and develop an approach to think of an Optimized solution.???

This may feel like a very common advice but practice is the only key to getting better at DP. You can read any number of tutorials on DP, they would hardly help you if you don’t practice. Initially, for most of the problems you will be seeing editorials but that’s fine. For DP, you are not expected to master it so quickly. So, that’s okay.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.