algorithmsS25

CS310/5102: Algorithms — Spring 2025

Lecture notes, problem sets, and Python code examples for the Algorithms course at LUMS SSE.

Instructor: Mudassir Shabbir     Term: Spring 2025

Lecture Notes

# Topic Notes
2 Introduction & Asymptotic Analysis PDF
3 Divide and Conquer PDF
4 Recurrences & Master Theorem PDF
5–6 Sorting: MergeSort, QuickSort, HeapSort PDF
7 Multiplication Algorithms & The Hiring Problem PDF
8 Greedy Algorithms PDF
10 Amortized Complexity PDF
11 BFS & DFS PDF
12 Articulation Points & Topological Sort PDF
15 Minimum Spanning Trees PDF
17 Shortest Paths PDF
18 Amortized Analysis: Binary Counter PDF
19 Network Flow PDF
20 P, NP, NP-completeness PDF
21 Dynamic Programming PDF
22 DP: LCS & Matrix-chain Multiplication PDF
24 Randomized Algorithms PDF
25 String Matching PDF
26 Computational Geometry PDF
27 Advanced Topics PDF

Problem Sets

Python Code

Runnable implementations in code/:


View on GitHub