Counting Sort & Radix Sort: Linear-Time Sorting
Compare counting sort at O(n + k) with radix sort at O(d(n + b)), including stable digit passes, range costs, and signed-integer handling.
Compare counting sort at O(n + k) with radix sort at O(d(n + b)), including stable digit passes, range costs, and signed-integer handling.
Explore search algorithm variants: depth-limited search for bounded recursion, and bidirectional search for O(b^d/2) complexity improvement.
Learn depth-limited search (DLS) for handling infinite state spaces with a depth bound, and how it relates to iterative deepening.
Learn Dijkstra's algorithm for single-source shortest paths in graphs with non-negative edge weights, including implementations and trade-offs.
Learn divide and conquer through merge sort, quicksort, and binary search, with recurrences that show how subproblem costs add up.
Apply dynamic programming to tree and graph structures using DFS-based state propagation for optimal subtree and path calculations.
Learn how to identify optimal substructure, define DP state variables, and formulate recurrence relations correctly.
Learn dynamic programming with memoization, tabulation, and examples of how to identify subproblems.
Solve the minimum edit distance problem using dynamic programming with applications in spell checking, DNA alignment, and autocomplete.
A flexible coding interview preparation plan for Meta, Amazon, Apple, Netflix, Google, Microsoft, and other large tech companies.