ECS 5101 · DAA
Design and Analysis of Algorithms
Asymptotics, divide & conquer, sorting, BSTs and heaps, AVL, greedy and dynamic programming, graphs.
Lecture summaries
35One summary per recorded class, in chronological order.
- summary 16 Aug 2026 This class introduces what an algorithm is (using a "making a burger" counterexample and sorting as a positive…
- summary 16 Aug 2026 This lab session introduced arrays and basic array algorithms in Python, starting with HackerRank account setup and a…
- summary 22 Aug 2026 This class lays the foundations for Design & Analysis of Algorithms: it surveys the taxonomy of data structures…
- summary 23 Aug 2026 This class completes the mathematical foundations needed for algorithm analysis and then introduces algorithms and…
- summary 23 Aug 2026 This lab session introduces pseudo-code-first problem solving through two array/stack problems: finding the first…
- summary 29 Aug 2026 This class bridges the recap of mathematical preliminaries (monotonicity, factorial, modulo, Fibonacci, logarithms…
- summary 30 Aug 2026 This class completes the recap of algorithm-analysis principles (sequential, selection and iterative logic; analysis as…
- summary 30 Aug 2026 This lab session covers the queue data structure: its FIFO rule, the four queue types (linear/simple, circular…
- summary 05 Sep 2026 This class completes the recap of Θ (theta) notation — its definition, the "sandwich" graph picture, the…
- summary 06 Sep 2026 This class completes the asymptotic-analysis toolkit begun earlier: it recaps insertion sort's cost analysis and…
- summary 12 Sep 2026 This class recapped the computational complexity of insertion sort (order of n square) and loop invariance as a tool…
- summary 13 Sep 2026 This class completes the asymptotic-notation recap (big O, big Omega, big Theta, little o, little omega, plus…
- summary 13 Sep 2026 This lab session covered insertion sort in depth (its sorted/unsorted-part idea, the shifting mechanism under the hood…
- summary 19 Sep 2026 This class recaps divide-and-conquer sorting and searching — merge sort (recursive division, the two-pointer merge, and…
- summary 20 Sep 2026 This class began with a clarification of lab/assignment evaluation, then recapped binary search, merge sort and quick…
- summary 26 Sep 2026 This class completed the treatment of the maximum subarray problem: after a brief revision of quicksort (median-of-3…
- summary 27 Sep 2026 This class completes the maximum sub-array problem by moving from brute force and divide-and-conquer to dynamic…
- summary 27 Sep 2026 This class completed the divide-and-conquer sorting unit: it walked through merge sort's divide and merge steps with a…
- summary 03 Oct 2026 This class first recaps the maximum subarray problem and its three solution mechanisms, then covers Strassen's matrix…
- summary 04 Oct 2026 This class covers how to derive recurrence relations from algorithms, the three methods for solving recurrences…
- summary 04 Oct 2026 This class covered bubble sort in detail — its definition, why it is called "bubble" sort, passes and comparisons…
- summary 11 Oct 2026 This class bridges tree fundamentals with their memory representations and traversal algorithms. It recaps binary tree…
- summary 11 Oct 2026 This lab covered two distinct topics. First, the Longest Common Prefix string problem: an initial hash-map/counting…
- summary 17 Oct 2026 This class covers how binary trees are stored in memory (link vs. sequential/array representation), the three…
- summary 18 Oct 2026 This class continues the study of binary search trees (BSTs) by confronting the problem of skewness, which degrades…
- summary 18 Oct 2026 This lab session motivates trees as a way to represent hierarchical, parent–child relationships (file systems, AI…
- summary 24 Oct 2026 This class reviews the BST property and balance factor, then works through AVL rotations for both insertion (LL, RR…
- summary 25 Oct 2026 This class completes the treatment of AVL deletion rotations (R0, R1, R−1 and their equivalence to LL/LR rotations)…
- summary 31 Oct 2026 This class completes the treatment of M-way search trees and introduces B-trees as balanced M-way search trees. It…
- summary 01 Nov 2026 This class continued the study of B-trees, focusing on the insertion and deletion algorithms. It began with a recap of…
- summary 01 Nov 2026 This class focused on the format and content of the upcoming exam for the Design & Analysis of Algorithms course. It…
- summary 07 Nov 2026 This class reviewed B-tree deletion operations with detailed examples for orders 5 and 3, highlighting the cases of…
- summary 14 Nov 2026 This class concluded the discussion on balanced binary search trees with Red-Black Trees and transitioned into Graph…
- summary 22 Nov 2026 This class covered fundamental graph algorithms, focusing on traversal and the introduction of minimum spanning trees.…
- summary 23 Nov 2026 · 12:41 This class introduced AVL trees, a type of self-balancing binary search tree. The lecture covered the motivation for…
Quizzes
3Quiz question banks with verified answers and explanations.
- quiz Complete Quiz Questions, Answer Key & Explanations DAA Quiz — 25 Questions, Answers & Detailed Explanations
- quiz Quiz 2 — 25 Questions, Verified Answers (30 Nov 2026) ECS 5101 — Design and Analysis of Algorithms
- quiz Quiz 1 — Question Bank (25 Q, full options) ECS 5101 — Design and Analysis of Algorithms
Assignments
3Assignment papers with the question and the worked answer together.
- assignment Assignment 2 — Merge Sort, Quick Sort, Binary Search ECS 5101 — Design and Analysis of Algorithms
- assignment Assignment 3 — Trees, BST, M-way Trees, Traversals ECS 5101 — Design and Analysis of Algorithms
- assignment Assignment 4 — Data Structures: Trees, Heaps & AVL ECS 5101 — Design and Analysis of Algorithms
Nothing matches that filter.