Structured Active Recall for Complex Coursework.
Turn your lecture PDFs into flashcards, adaptive quizzes, and spaced repetition reviews in seconds.
Start Free Sprint →Master Theorem for recurrences, Divide-and-Conquer (Merge/Quick sort), Dynamic Programming (0/1 Knapsack, LCS), and Greedy strategies (Huffman Coding, Kruskal/Prim).
Key Points: Recurrence: V[i, w] = max(V[i-1, w], V[i-1, w - w_i] + v_i). Build (4+1) x (5+1) matrix. Max value = 37 (Items 2, 4, 3).
Key Points: Compare f(n) with n^(log_b a). (i) a=4, b=2 => n^(log_2 4) = n^2. f(n)=n => Case 1 => Theta(n^2). (ii) a=2, b=2 => n^1. f(n) = n log n => Extended Case 2 => Theta(n log^2 n). (iii) a=3, b=4 => n^(log_4 3) ~ n^0.79. f(n)=n^2 => Case 3 => Theta(n^2).
Upload your Design and Analysis of Algorithms lecture slides to generate spaced repetition study cards in seconds.
Turn your lecture PDFs into flashcards, adaptive quizzes, and spaced repetition reviews in seconds.
Start Free Sprint →