Free tools & games for everyone
Free · No sign-up · No accounts
Build binary search and AVL trees, and run breadth-first, depth-first, shortest paths, spanning trees and topological order on your own graphs.
| Enter | In the Numbers box: insert |
|---|---|
| Tab | Move between boxes and buttons |
A -> B and A, B, 3 also work. A line with one name adds a node with no edges.# are notes and ignored.Deleting a node with two children replaces it with the next larger value. AVL balancing keeps the two sides of every node within one level of each other by rotating. Shortest paths use Dijkstra’s method (weights must be 0 or more), the spanning tree uses Kruskal’s method, and the topological order uses Kahn’s method, taking names alphabetically when there is a choice. The tests check every method against separate Python versions on random data.
Everything runs in your browser. Nothing is stored or sent.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product