Deliberate practice for algorithms
Build algorithm
muscle memory
Type canonical implementations character by character until the patterns live in your fingers. Binary search, BFS, DFS, dynamic programming, and more.
Try it now -- type the code below
Click the editor and start typing. No account needed for your first drill.
def binary_search(nums, target): left, right = 0, len(nums) - 1 while left <= right: mid = left + (right - left) // 2 if nums[mid] == target: return mid elif nums[mid] < target: left = mid + 1 else: right = mid - 1 return -1
1def binary_search(nums, target):2 left, right = 0, len(nums) - 134 while left <= right:5 mid = left + (right - left) // 267 if nums[mid] == target:8 return mid9 elif nums[mid] < target:10 left = mid + 111 else:12 right = mid - 11314 return -1
What you get with an account
Free tier includes 5 drills per day. Premium unlocks unlimited practice.
- 01
Drill mode with reference
Practice with the implementation visible. Build muscle memory through repetition until the code flows naturally.
- 02
Challenge mode from memory
Read a problem description, identify the right algorithm, and type it without looking. Test your pattern recognition.
- 03
Progress tracking over time
Monitor WPM, accuracy, and completion rates across every algorithm. See your improvement session over session.
- 04
Python and JavaScript
Every algorithm has both implementations. Switch languages and practice in whichever you will use in your interview.
9 essential algorithms
The most common interview patterns, ready to drill.
Ready to build the habit?
5 free drills per day. Track your progress. No credit card required.