Big-O, hash maps, stacks, queues, trees, heaps and graphs — built by hand.
Learn why some code stays fast as data grows. Measure work with Big-O, then build the classic data structures yourself in JavaScript — dynamic arrays, hash tables, stacks, queues, ring buffers, linked lists, an LRU cache, trees, binary search trees, heaps and graphs — with checks that test both correctness and speed.
Intermediate · 13 lessons · about 8 hours · free
Start Data structures free: run real code in your browserright here
Continue with GoogleBig-O, arrays and hash maps — the tools that make code fast.
Stacks, queues, linked lists and an LRU cache.
Recursion, binary search trees, priority queues and graph search.
These courses make Data structures easier:
Built with ❤️ by dibe.sh