finds.dev← search

// the find

lydiahallie/algo-data-structures

★ 455 · JavaScript · updated Oct 2022

🎉Common data structures and algorithms using JS.

A small JS collection of classic sorting algorithms and data structures — linked lists, trees, graphs, hash tables. This is interview-prep material, not a production library. Lydia Hallie wrote it as a learning resource to accompany her blog posts.

Clean, readable implementations with no dependencies — good for understanding the mechanics without framework noise. The doubly linked list and BST implementations are straightforward enough to actually learn from rather than just copy. File-per-structure layout makes it easy to read one thing at a time.

Dead since 2022 with no tests at all — you cannot verify correctness of anything here without running it manually. The graph implementation is bare-bones adjacency list with no traversal algorithms included. No TypeScript, no JSDoc, so editor tooling gives you nothing. Missing common structures like heaps, tries, and stacks, which limits its usefulness even as a reference.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →