// the find
jamiebuilds/itsy-bitsy-data-structures
:european_castle: All the things you didn't know you wanted to know about data structures
A single heavily-commented JavaScript file implementing common data structures — linked lists, hash tables, graphs, stacks, queues, trees — written to be read, not used. Aimed at developers who learned to code without a CS background and want to fill that gap.
The single-file format is the right call for a teaching resource — no setup, no imports, just open and read. Comments explain the 'why' alongside the code, not just the 'what'. Jamie's track record (Super Tiny Compiler) means the pedagogy is genuinely good, not a first-timer's tutorial. The implementations are stripped to the minimum, so the data structure logic isn't buried in production noise.
Last touched in 2021 and the README still promises 'a lot more work' on inline annotations that never came. It's a single .js file with 8k stars but no real completion — graphs and trees are present but thin. No TypeScript, which is how most people writing JavaScript professionally work now. There's a test.js but the test coverage is minimal; this is not something you'd reference to verify correctness.