CS21203: Algorithms-1 (Spring 2022-2023)
Lecture slides:
-
Lecture 01 (2h, Jan 03, 2023): Asymptotic bounds
-
Lecture 02 (1h, Jan 05, 2023): Binary trees and their traversals
-
Lecture 03 (1h, Jan 09, 2023): Binary tree traversals (continued)
-
Lecture 04 (2h, Jan 10, 2023): Binary search trees (BST), tries
-
Lecture 05 (1h, Jan 12, 2023): BST — average-case searching time
-
Lecture 06 (1h, Jan 16, 2023): Solving recurrences
-
Lecture 07 (2h, Jan 17, 2023): Solving recurrences (continued) + AVL tree
-
Lecture 08 (1h, Jan 19, 2023): AVL tree (continued)
-
Lecture 09 (1h, Jan 23, 2023): Insights on different sorting techniques, Merge Sort and Quick Sort
-
Lecture 10 (1h, Jan 30, 2023): Merge Sort and Quick Sort (continued)
-
Lecture 11 (2h, Jan 31, 2023): Quick Sort (continued), Selection Sort, Bubble Sort, Insertion Sort
-
Lecture 12 (1h, Feb 02, 2023): Graph intro
-
Lecture 13 (2h, Feb 06, 2023): BFS
-
Lecture 14 (1h, Feb 07, 2023): DFS/BFS with numbering, edge classification, uses
-
Lecture 15 (1h, Feb 09, 2023): Binary min/max Heap, insertion, build
Midsem exam: Feb 15 (Wed) – 24 (Fri)
-
Lecture 16 (1h, Feb 27, 2023): Heap sort. Divide and Conquer
-
Lecture 17 (2h, Feb 28, 2023): Divide and Conquer, Dynamic Prog.
-
Lecture 18 (1h, Mar 02, 2023): Greedy technique, MST, Kruskal's algorithm
-
Lecture 19 (1h, Mar 06, 2023): Dijkstra's single-source shortest paths, Prim's MST
-
Lecture 20 (2h, Mar 07, 2023): Floyd-Warshall's all shortest paths; Lower bounds: searching, sorting, BST construction.
-
Lecture 21 (1h, Mar 09, 2023): Problem solving with DP
[Solution]
-
Lecture 22 (1h, Mar 13, 2023): Order statistics, median finding
-
Lecture 23 (2h, Mar 14, 2023): Class Test 2
-
Lecture 24 (1h, Mar 16, 2023): Disjoint set union find (DSUF), operations, and complexities
-
Lecture 25 (1h, Mar 20, 2023): DSUF continued
-
Lecture 26 (2h, Mar 21, 2023): Problem solving with Greedy techniques
[Solution]
-
Lecture 27 (1h, Mar 23, 2023): Hashing
-
Lecture 28 (1h, Mar 27, 2023): Hashing continued
-
Lecture 29 (2h, Mar 28, 2023): Problem solving with Graphs
[Solution]
-
Lecture 30 (1h, Mar 30, 2023): Binomial heap
-
Lecture 31 (1h, Apr 03, 2023): Red-Black tree
-
Lecture 32 (2h, Apr 04, 2023): (Holiday: Mahavir Jayanti)
-
Lecture 33 (1h, Apr 06, 2023): String matching
-
Lecture 34 (1h, Apr 10, 2023): Skip list
-
Lecture 35 (2h, Apr 11, 2023): Problem solving
-
Lecture 36 (1h, Apr 13, 2023): Discussions and closing.
Endsem exam: Apr 18 (Tue) – 28 (Fri)