Big-O Notation
Compare how step counts grow as inputs get larger.
Byte Sized Algorithms teaches data structures and algorithms through 86 interactive lessons in 15 chapters. Trace each operation with diagrams, pseudocode, and state updates.
Compare how step counts grow as inputs get larger.
Discard the half that cannot contain the target.
Follow the queue as a graph expands one layer at a time.
Yes. All lessons are free and run in your browser without an account.
Explore arrays, trees, sorting, graph traversal, shortest paths, dynamic programming, and more.
Select any step or use the arrow keys. The diagram, state, and highlighted pseudocode show what changes together.
Your progress stays in this browser. Clearing site data removes it.