Skip to content
Zee7XPublic

About

Learn how data structures, algorithms, and everyday backend and frontend problems work by stepping through interactive pictures. Plain explanations in English and Bahasa Indonesia, no account needed.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Algobench

How the apps you use every day really work, explained with pictures you move yourself.

Open the site: https://zee7x.github.io/Algobench/

Algobench home page

What is Algobench?

Algobench is a free learning site about the ideas behind software: how data is arranged, how computers search and sort quickly, and what goes wrong when thousands of people use an app at once.

Every topic comes with an interactive picture. You press Play or Step and watch what actually happens, one step at a time, with a plain-language sentence for each step. You don't need to read code. If you can, code examples sit in sections you can open.

  • For beginners and programmers alike. A simple summary comes first; the technical details are folded underneath.
  • Two languages. English and Bahasa Indonesia, with the same content.
  • Free, no account. Your progress is stored only in your browser.

What's inside

Track Contents An example question it answers
Data structures & algorithms 48 topics in 11 modules Why is looking a word up in a dictionary so much faster than reading from page one?
Backend case studies 15 topics How can two people buy the last concert ticket in the same second, and how do you stop it?
Frontend case studies 12 topics Why doesn't a search box need to ask the server every time you type a letter?

There is also a code-review Practice page and a Glossary of 50 terms explained in everyday words.

A look around

Start here. A short introduction for people who have never programmed: what the three tracks are and how to read the pictures.

The Start here section on the home page

Topic list. Every topic is numbered, in order from the basics to advanced.

Numbered list of DSA topics

Interactive pictures. A "Watch" line tells you what to look at, every colour is explained, and the sentence under the picture describes each step.

Searching a binary search tree Typing in a search box (debounce)
Binary search tree figure Debounce figure

A real object for every topic. Instead of plain numbered boxes, each picture uses a thing you already know: a train of wagons for a linked list, books of different heights for sorting, houses joined by roads for a graph, and cardboard boxes for code bundles.

Linked list: a train of wagons Quick sort: books by height
Linked list drawn as train wagons Quick sort drawn as books
BFS: houses on a map Bundle splitting: boxes of code
BFS drawn as houses joined by roads Bundle splitting drawn as cardboard boxes

Real case studies. For example: two buyers, one last ticket, and why a shop can sell two tickets for one seat.

Race condition figure with two buyers

Glossary. Every term is explained without jargon and linked to the topics that cover it.

Glossary page

Works on phones. Pictures stay readable and can be swiped sideways.

A topic figure on a phone

For developers

Algobench is a static Next.js site, deployed automatically to GitHub Pages. How to run it, the folder layout, and how to add a topic are in docs/DEVELOPMENT.md. Product and business requirements are in docs/PRD.md and docs/BRD.md.

Credits

The isometric pictures are built with the Anatomy kit by Ryan, MIT licensed.

About

Learn how data structures, algorithms, and everyday backend and frontend problems work by stepping through interactive pictures. Plain explanations in English and Bahasa Indonesia, no account needed.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages