I've been practising on LeetCode for a while and have gotten pretty good at most problems. I've been timing myself for each of the problems as well and am able to solve almost all the Easy problems within 7-10 minutes and majority of the mediums within 30 minutes.
I'm having trouble with some medium level problems (the ones which are between medium and hard), especially the ones around dynamic programming.
For the hard problems, I'm able to solve some but am not able to solve most.
I've been trying to crack it out but it just doesn't seem to be working. Any advice any of you have that could help me? I have interviews coming up with Google which I'm guessing would be pretty heavy on DP and would contain hard problems so would be helpful for me if any advice could be provided.