Your numbers, not a textbook's
Ask with the values from your problem. The simulation runs on exactly those.
NewSimulations
57 simulations of the problems you already practise, from Binary Search to N-Queens. They run on your own values, light up the line that is running, and give a plain reason for every step.
This is the real simulation, not a video. Press play, or step with ← and →.
Find your problem. Each simulation covers the core idea of the problems listed with it.
lo, mid and hi halve a sorted window every step.
At each cell the run either grows or starts fresh, keeping the best total.
prev, curr and next flip one arrow per step.
A queue visits the tree one level at a time.
In-degrees drain; nodes with none left come out next.
Choose, explore, un-choose; every call is a subset.
What shipped, and when.
Eight classic backtracking problems, from Subsets to N-Queens. Every choice is a branch, every step back is visible, and the code moves with the tree.
Arrays, sorting, stacks, queues, heaps, linked lists, trees and graphs. Ask for one in any chat and it runs on your own values, with a reason for every step.
In any chat, name the algorithm and your values, like “show me merge sort on 38, 27, 43, 3”. Your tutor draws it for you.
Start a chat