Spaced repetition might seem like a memorization process. In its simplest form, you use spaced repetition by simply reading a prompt and responding with the correct answer. In the LeetCode context, the prompt is the LeetCode problem description, and the answer is an accepted solution. If you solve the same model problem multiple times, you […]
ContinueLeetCode Tip 10: Planning a Spaced Repetition Schedule
For most programmers, solving coding interview problems is not a natural way of coding. It takes time and practice to get good at them. Using spaced repetition techniques makes this practice time more effective. The canonical example of spaced repetition is using flashcards to learn language vocabulary. Anki is a popular software application that implements […]
ContinueBook Review – Algorithmic Thinking: A Problem-Based Introduction, Second Edition
In September 2020, I published a review of Algorithmic Thinking: A Problem-Based Introduction by Daniel Zingaro. This is an update for the forthcoming second edition of the book. Solving Problems With Algorithms Computers are great at evaluating programmers’ algorithmic problem-solving skills. Hence the proliferation of online judges used for screening job candidates, running coding contests, […]
ContinueLeetCode Tip 9: Spaced Repetition
One way to use LeetCode is to solve as many problems as possible. The argument for that approach is that the more problems you solve, the more experience you get, which will make it more likely that you’ll be able to solve the problems you encounter in an interview. There is some merit to this […]
ContinueLeetCode Tip 8: Anatomy of a Model Solution
Writing your own model solution for a LeetCode problem can help you clarify the solution details in your mind, and it leaves you with a living document to use and improve each time you practice the problem. As an example of what to include in a model solution, I’ll use the one I wrote for […]
ContinueLeetCode Tip 7: How to Write a Model Solution
Practicing a LeetCode problem with the help of a model solution ensures that you are learning an optimal solution, not just any accepted solution. But don’t just take someone else’s solution as your model solution. Use what others have written, and make it your own. Once you choose to include a problem in your set […]
ContinueLeetCode Tip 6: Model Solutions
A well-chosen model problem gives you a vehicle for studying a specific concept. When you first select a problem, it’s good practice to see if you can solve it on your own using what you already know about the concept. But a problem is useful for practice even after you have solved it once. A […]
ContinueLeetCode Tip 5: Choosing a Model Problem
In the model problem approach to LeetCode practice, the goal is to focus on specific problems rather than abstract concepts. For example, instead of focusing on the general properties of hash tables, or even hash table syntax in a particular language, find a problem that uses hash tables and study that problem. You’ll still learn […]
ContinueLeetCode Tip 4: Model Problems
The first goal of LeetCode practice is to learn how to solve problems associated with one concept. A LeetCode tag identifies each concept, and each problem has one or more tags. In the beginning, you don’t have to worry about learning concepts more granular than a tag, determining what concept an unknown problem is looking […]
ContinueLeetCode Tip 3: A Goal for LeetCode Practice
If you believe in the goal of preparing for coding interviews and you agree that LeetCode is a good way to pursue that goal, you may feel like getting on the site and building a daily streak. But it’s important to pick the right priority to focus on during this daily practice. While you can […]
Continue- « Previous Page
- 1
- …
- 5
- 6
- 7
- 8
- 9
- …
- 49
- Next Page »