My Thoughts on LeetCode Alternatives
LeetCode has been and still is a tremendous resource for people preparing for coding interviews. The kinds of problems asked in big tech interviews could feel inaccessible if you didn't already know what to expect. LeetCode gives people a place to find those problems and practice them.
This has made interview preparation more accessible and organized. You can work through problems, learn data structures and algorithms (trial-by-fire style), and see how other people approached the same questions.
What happens when the answers are already out there?
Coding interview problems are meant to test problem-solving. The interviewer tries to give you something you haven't solved before and wants to see how you break it down and reason your way to a solution.
Now that there is a large repository of known problems and solutions, for many people preparation has become an exercise in memorization. You see a problem, learn the pattern, and hope you recognize it when it comes up again. It feels like progress because you're solving more problems, but it’s a hack around the skill the interview is actually trying to evaluate, and it relies on getting a familiar pattern in an interview.
Why I built CodeCrack
I built CodeCrack to help people practice reasoning. The problems are similar to LeetCode problems by virtue of being representative of actual interview problems, but they’re designed to help you develop a process for tackling problems when you don't already know the answer.
The CodeCrack Method gives you a way to break a problem down: understand what it's asking, work through a brute-force approach, identify bounds and repeated work, and consider which data structures could help. Then, iterate methodically to the correct answer. The point is to make the decisions behind a solution something you can practice, rather than a leap you have to make all at once or a game of memorization.
- Understand the problem
- Build a brute-force solution
- Establish a lower bound
- Find overlapping sub-problems
- Consider data structures
- Iterate
CodeCrack's walkthroughs all demonstrate the reasoning required to get to the solution, not just why the solution is correct. When you get stuck, you can look at the steps that led to a solution and learn how to repair your problem-solving process directly. You can see this in the free Flux Balance walkthrough.
Durable skills for an uncertain interview environment
AI is changing how software gets written and therefore is changing how companies think about evaluating engineers. So interviews are evolving alongside it, but being able to understand a problem, reason through an unfamiliar situation, and explain your decisions will still be the skills interviewers evaluate you on.
The best alternative to LeetCode is one that directly teaches you the skill that interviewers are testing you on, which is problem solving itself. You can build a preparation plan to put that into practice.