Dynamic Programming: From Memoization to Optimal Solutions
Learn dynamic programming with memoization, tabulation, and examples of how to identify subproblems.
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.
Master graph representations (adjacency list and matrix), BFS, DFS, and when to use each representation.
Learn when greedy algorithms are correct, prove a choice with an exchange argument, and compare activity selection, Huffman coding, and knapsack.
Learn hash table fundamentals, collision handling, load factors, and practical uses of hash sets and maps, with trade-offs for real workloads.
Master heap data structure, heap operations, priority queue implementation, and heap sort with binary and Fibonacci heap variants.
Deep dive into each major sorting algorithm with implementations, complexity analysis, and when to use each.