Paste any LeetCode problem and codebrew builds an interactive, step-by-step lesson — trace every variable, watch the pattern move, and drill it with instant feedback.
↑ a real lesson, stepping through Longest Substring
Built for the interviews at Meta · Google · Amazon · and everywhere else
Reading an accepted solution is not the same as understanding it. You can follow every line and still freeze when the pattern shows up under a different name.
Drop in any LeetCode URL, search by name, or describe your own. A lesson is generated in seconds — no setup.
Step through the algorithm with the right visualizer for the pattern: trace tables, DP grids, sliding windows, graph traversals, and more.
Work guided checkpoints and get instant, specific feedback from the AI grader — until the pattern actually clicks.
Everything is built around one idea: you should be able to watch the solution happen and then reproduce it yourself.
Trace tables, DP grids, binary search, two pointers, BFS/DFS on trees & graphs, monotonic stacks, heaps, union-find, backtracking trees, intervals, and more — each matched to the pattern.
See exactly which pointer moved and which value changed at every step. No more guessing what the loop is doing.
Guided checkpoints grade your reasoning and code with specific, actionable feedback — active recall, not passive reading.
Mark the insight that made it click and keep your notes on any lesson to come back to before the interview.
Curated study plans that build pattern by pattern, with progress tracking so you always know what's next.
Every problem links to the underlying pattern, so you learn the transferable idea — not just this one question.
Every pattern has a deep-dive page and a set of representative problems. Pick one and generate a lesson in a click.
Curated, pattern-ordered plans that take you from the fundamentals to interview-ready — with progress tracking along the way.
$6.99/mo
For any problem, codebrew builds a full interactive lesson: an explanation of the pattern, a step-by-step visualizer you control, the key insight and complexity, and guided practice checkpoints with instant feedback.
Just the problem. Paste a LeetCode URL, search by name, or describe a custom problem in plain English. codebrew figures out the right approach and the right visualizer for it.
A video plays a fixed explanation at you. codebrew lets you drive: step forward and back through the algorithm, watch each variable change, and then prove you understood it by working the practice checkpoints yourself.
Yes — you get 3 full lessons per day free, including every visualizer and practice mode, no signup required to try it. Premium removes the daily limit and adds notes, sharing, and interview tracks.
All of LeetCode plus anything you describe yourself. We also maintain deep-dive pages for 14 core patterns and 51+ of the most common interview problems.
That's the whole point. codebrew is built around patterns and active recall, so you learn the transferable idea behind each problem instead of memorizing one solution — which is exactly what a novel interview question tests.
Paste a problem and watch it run. It takes about ten seconds to see why this is different.