Step, back, replay
Move one step at a time in either direction or let the algorithm play. Pause on the step you did not understand and stay there as long as you need.
CodeStory's visualiser covers 26 algorithms across 10 patterns in your browser. Type your own array, string or graph, step forward and back, and see what the code holds at every moment.
You start free with 100 AI credits when you sign up and 100 every month. Watching an algorithm costs no credits.
Students rarely get the idea wrong. They lose what the variables hold on step nine.
You can follow merge sort in your head for six elements and lose the thread at twelve. You can study two pointers and still not see why moving the shorter line is the only move that helps. Both gaps come from state, meaning what sits in the window, the stack, the table or the queue right now.
CodeStory's visualiser holds that state in front of you and moves one step at a time. Your array, pointers, recursion tree, DP table and code line move together, forward or back, at your pace.
Try a sorted array, a nearly sorted one, one with duplicates and an empty one. Watching a single algorithm on four inputs removes the surprise from edge cases before your interview.
Every pattern gets its idea in a single line, followed by its algorithms.
CodeStory built it for study, not for demo videos.
Move one step at a time in either direction or let the algorithm play. Pause on the step you did not understand and stay there as long as you need.
Type the array, string or graph you want. Your own tricky case teaches more than ten clean ones.
CodeStory highlights the executing line as the picture changes, so the drawing and the code stay together.
Copy a link that carries the algorithm, your input and the step number, then send a friend the exact moment you got stuck.
Students open these pages after the visualiser.
Practice, interviews and tools all start free. Swipe to see the rest.
Problems filed under the pattern that solves them, not a sheet.
352 problemsOpenPractise what one company asks in the week before your round.
463 companiesOpenChoose a role, write in a real editor and answer while you type.
scored reportOpenYou answer out loud and CodeStory follows up on what you said.
32 topicsOpenAnswer DBMS the way a panel asks it, with indexes, joins and normal forms.
in Core CSOpenInheritance, polymorphism and the follow-up you never rehearse.
in Core CSOpenHow real systems are built, from the primitives to the AI stack.
27 chaptersOpenReal schemas, your query, the rows it returns and a clear verdict.
39 questionsOpenQuant, logical, verbal, DI and technical, timed like the real test.
280 questionsOpenGet a clock, marks per question and hidden tests like a company's judge.
37 papersOpenWatch it play on your own input, one step at a time.
26 algorithmsOpenHints one at a time and AI review before a mentor sees your work.
100 free creditsOpenBuild it inside the app, next to the work you practised.
in the appOpenOne score and the axis where you are weakest.
tracked dailyOpenSign up for 100 AI credits now and get 100 more every month. Start free in the app
Not sure yet? Start free or ask a mentor on a call.
Start freeCodeStory's visualiser draws a data structure while an algorithm works on it. You see the array, pointers, stack, tree or table change at every step instead of imagining them.
CodeStory's visualiser covers 26 algorithms. They include bubble, insertion, merge and quick sort, binary search and lower bound, two pointers, sliding window, stacks, tree traversals, BST, heaps, BFS, DFS, grid shortest path, topological sort, Union Find, Dijkstra and DP with knapsack and longest common subsequence.
Yes. Type your own array, string or graph and the visualiser plays the algorithm on that input, edge cases included.
Yes. Move one step forward or back, or let the algorithm play on its own.
Yes. CodeStory highlights the line being executed as the picture changes.
Yes. Watching an algorithm costs no credits and the app is free to start.
It builds the picture you fall back on when you feel nervous. Students who see the window or the recursion tree explain their approach faster, and explaining is half the round.
Tell CodeStory who you are. On the call, a mentor helps you choose the right batch.