1. Start with LeetCode Easy Problems
Instead of immediately jumping into complex algorithms and advanced problem-solving patterns, start with easy-level problems.
Your initial goal should be to understand how to approach a problem, think logically, and develop confidence in writing code independently.
2. Use LeetCode's Custom Sorting and Filters
LeetCode provides useful sorting and filtering options in its Problems section. You can use them to make your practice more beginner-friendly.
Step 1: Sort by Acceptance Rate
- Open the LeetCode Problems section.
- Find the Custom by Sort option next to the search bar.
- Sort it from Highest to Lowest.
This helps you discover problems that have a relatively higher acceptance rate, making them a good starting point for beginners.
Step 2: Apply the Filters
Configure the filters according to your preferences:
- Language: Select the programming language you want to practise (Java, C++, Python, etc.).
- Topic: Select a topic if you want to focus on a particular area.
Now, you have a list of beginner-friendly problems to work through.
3. Solve Problems Independently
This is the most important part of the entire process.
- Try to solve every problem on your own.
- Avoid generating solutions using AI tools.
- Don't immediately look at other people's submissions or editorials.
- Spend time understanding the problem and thinking about possible approaches.
- If you get stuck, try different approaches before seeking hints.
Remember, the objective is not simply to get an Accepted submission. It is to develop your own problem-solving ability.
4. Be Consistent for 1–2 Months
Follow this approach consistently for your first one or two months.
Don't worry about solving a large number of problems every day. Focus on understanding the logic behind each problem.
Over time, you will start noticing improvements in:
- Understanding problem statements.
- Identifying possible approaches.
- Writing code independently.
- Debugging and handling edge cases.
Once you have developed this habit and feel comfortable solving Easy problems, you can gradually move towards topic-wise DSA, important problem-solving patterns, and Medium-level problems.
Note: This approach is specifically intended for beginners during their first 1–2 months. It is not a complete DSA roadmap. Once you build consistency, move towards structured and deeper DSA learning.
My Personal Suggestion
I started my LeetCode journey with Problem 1 – Two Sum.
I strongly recommend that you start with the same problem. It is a great opportunity to understand how to read a problem statement, identify the expected output, think about an approach, and translate your logic into code.
Don't underestimate simple problems. They are where your problem-solving journey begins.
Final Advice: Don't chase problem counts or streaks. Focus on becoming a better problem solver, one problem at a time.
Stay consistent. The improvement will follow!
Loading article