Depth-Limited Search: Bounded Depth-First Search
Learn depth-limited search (DLS) for handling infinite state spaces with a depth bound, and how it relates to iterative deepening.
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.
Fenwick trees support prefix sums and point updates in O(log n). Learn the one-based index walks, coordinate compression, and when a segment tree fits better.
Master the Floyd-Warshall algorithm for finding shortest paths between all pairs of vertices in weighted graphs, with implementation examples and trade-offs.