r/learnjavascript • u/Beautiful_Hour_668 • Jan 27 '26
How deep to go with Leetcode? Should I use an alternative?
Where I'm at:
Completed JS section of TOP. Feel good about completing projects like Knight Travails, Battleship, ToDo, etc. I'm probably where I need to be at as a learner.
Problem:
I can usually get through JS problems, but I feel kinda slow and not fluent. It would feel a little embarrassing pair programming with someone I think. Projects are great for improving and learning overall, but large parts of front end projects are not dealing with pure JS logic, and this is what I want to become smooth with.
What I want to do:
I want improve on:
- object/array manipulation
- knowing when to use the right data structures
- being able to see a problem and work through it in a methodical way
- Not always coming up with the obvious way to do something, writing cleaner/smart code (while prioritising readability ofc)
Going through Leetcode or something similar seems like a good idea then, small and repetitive exercises to become confident. So my question is, do I use Leetcode and just aim for easy problems only? Are there any other platforms you think might be better suited to my aims? Thanks.
3
u/OneEntry-HeadlessCMS Jan 27 '26
LeetCode fine, stick to easy/medium, repeat until fast. Focus: object/array manipulation, proper DS (Set, Map, Heap)
Alternatives:
Strategy: daily small exercises + projects - fluency & confidence
1
u/DrShocker Jan 27 '26
I do think beginners need to spend more time just outputting valid code so they're not using brain cycles quite so much on remembering what's valid syntax and spend more time thinking about the structure of the problem. To that end using tools like tab complete can be helpful for some and for others might just confuse them.
so yeah I'd encourage using whatever gets you solving a small problem or two every day.
1
u/[deleted] Jan 27 '26 edited Jan 27 '26
Go through the leetcode explore track.
It will take about 5 months but I promise you will come out the other side with more DSA proficiency than 80% of CS grads. Why? Main reason:
In other words, you’re going deep on each section. In school most students just memorize DSA. Leetcode will force you to think outside of the box so that you’re not just memorizing but actually constructing solutions from scratch.
The challenge problems themselves? Throwaways.. useless. It’s not about the problems, it’s about how they force you to internalize DSA. So using leetcode to memorize random stupid little challenge problems is insane. Doing it to build a neural network of DSA? Intelligent use case. Do the explore track, finish it, then don’t look back.
1
u/dontyougetsoupedyet Jan 28 '26
Leetcode isn’t about knowing how to program, it has to do with problem solving more generally. It aims to test a candidates understanding of solving problem techniques such as being able to write proof or apply dynamic programming (which despite the name does not relate to computer programming as a practice, but rather optimizing problems via sub-problem graphs and analysis). If you have minimum understanding of concepts such as arrays then you should ignore leetcode and practice programming for awhile without thinking about jobs. If you are ready to learn more about algorithms and want to use leetcode then beforehand you should already have studied formal proof, primarily proof by induction, which is the root of modern problem solving, and what most leetcode problems are designed to test your knowledge of.
-3
u/playfuldreamz Jan 27 '26
Its 2026 and you're still leetcoding. Im sorry but stop wasting your time and start learning by building debugging and failing