- start with top 100 liked questions
- if question is upvoted, it means the question is clear, helpful and practical
- start with easy and medium (and do hard later)
- learn to play the game
- focus on questions by the topic
- never solve random questions!!
- choose a topic and start drilling down!!!
- you’ll realize there is a pattern → it is the template, the winning formula for mastering leetcode
- once it clicks, you can reuse it to solve other problems
- solve 20 questions, or until you get that “click” for each topic before moving on!!
- order the questions from highest to lowest acceptance rate
- learn from the solutions
- if you’re stuck, look up the answer and move on
- LEARN FROM THE SOLUTIONS → fastest way to learn from the experts
- revisit the problems
- esp the ones you couldn’t solve
- solve company specific problems
- recommended list to get started
- string
- two pointers
- sliding window
- binary search
- recursion
- binary tree
- backtracking
- dfs
- bfs
- graph
- linked list
- sort
- trie
- stack/queue
- priority queue
- dynamic programming