BCtCI Chapter: Set & Map Implementations
Learn how sets & maps are built from scratch, and refine your knowledge of hashing.
Teaching DS&A · CS research highlights · SWE things · building in public
I'd love to tell you when I publish a new post.
Get notified when I write about DS&A or software engineering. Unsubscribe anytime if it's not your vibe.
Learn how sets & maps are built from scratch, and refine your knowledge of hashing.
Learn how monotonic stacks and queues are two sides of the same idea and how to leverage them in interviews!
A walk through recurrences, memoization, and math tricks -- via Lego castles.
A comprehensive list of all free resources available from Beyond Cracking the Coding Interview, including chapters, tools, templates, and guides.
Learn how this fascinating data structure speeds up graph-related operations.
The different approaches to finding the k smallest/largest elements in an array.
JS doesn't have built-in queues, which can be an issue if you have to implement a BFS. Here are the workarounds.
A binary search recipe that works for every problem, explained without code.
A problem walkthrough using the concepts from Beyond Cracking the Coding Interview.
A proof that heapify takes linear time without using complex equations.