- Fully and correctly understand the problem
- Type of the problem
- Important variables to consider
- Crucial line (like swapping values)
- Able to visualize the algorithm in your mind
The less material you got, the better you're able to focus 😄
- Data Structure on LeetCode Explore
- Definition
- Operation
- Related problems to solve