The main goal is to be in good Leetcode shape to potentially land a better paid job.
I am currently using the following resources:
* Neetcode
* Competitive Programmer's Handbook https://cses.fi/book/book.pdf
* Algorithm Design Manual + Common-Sense Guide to Data Structures and Algorithms as references when some algorithm doesn't click the first time and I need an alternative explanation
Practice makes perfect in this case so I just keep practicing Leetcode problems and trying to identify the patterns I struggle with.
Dynamic programming is really hard. In a lot of DP problems except for the easiest ones like Coin Change, I'm not it's realistic under stress to come up with an optimal solution.
If you have recently (or not necessarily recently) passed (or not necessarily passed) a Leetcode-based interview, share your story and preparation please :)
Also depending on your level you should prepare for design questions, like design Twitter, or design Instagram etc.