Decision trees: how to think about backtracking, DP, and greedy algorithms (WIP)
Understanding the relationship between these three popular algorithmic techniques.
Understanding the relationship between these three popular algorithmic techniques.
A binary search recipe that works for every problem, explained without code.
The exact prompts used to create an interactive 3D torus visualization app with vibe coding.
A problem walkthrough using the concepts from Beyond Cracking the Coding Interview.
A proof that heapify takes linear time without using complex equations.
Exploring the tradeoffs between lazy and eager implementations of common algorithms.
A comprehensive guide to different implementations of Dijkstra's algorithm, with code.
An extensive list of questions that can be solved with DFS.
Many greedy algorithms can be modified to make local rather than global choices while still producing the same solutions.
A step-by-step guide to understanding and implementing dynamic programming algorithms with practical examples.
A guide to implementing preorder, inorder, and postorder tree traversals iteratively.