Built idea · Sep 26, 2026
Data Structure City
An explorable 'city' where each building is a live data structure (hash map, B-tree, skip list, LRU cache) that visibly restructures as students send commands.
What it does
Turns four data structures into buildings in a city so students can see how each stores the same data. You type simple commands to add, look up, expire or delete keys, and a hash map, a B-tree, a skip list and a small cache all react at once, showing splits, merges, evictions and the cost of each step. Five guided tours ask students to predict what will happen before revealing it, and instructors can write their own tours and share them by link. A text narration mode describes every building in words. Limitation: the city holds at most 40 keys, and changes appear as highlights rather than animation.