CS5800 Algorithms Section 11, FALL 2025

about CS5800      home      schedule    gradescope     piazza    

* Schedule and materials subject to change
Week / Module Topic / Lecture Other Reading Assignment
  • 9/2 - 9/9


  • Administrative, Intro (CLRS ch1, ch2)
  • Introduction, Example Problems
  • Fibonacci numbers
  • Orders of Growth (CLRS ch3)

Slides: Fibonacci, Strassen, 2 Lists

Recap. These math topics are prerequisites:
Discrete Math (Undergrad Honors)


  • Background/prerequisites:
  • * math
  • * datastructures : arrays, trees, lists
  • * pseudocode/ imperative programming
  • * sorting : mergesort, insertionsort

Order of growth table

Podcast : Strassen Matrix Multiplication (adobe pdf)
Podcast: Fibonacci Matrix Exponentiation(adobe pdf)

  math problems(optional, no credit)

Prereq-Asessment Exam (optional, no credit) due 9/8
  • 9/9 - 9/16


  (CLRS ch 4)
  Notes: Recurrences
 Example: Iteration Method
 Notes: Master Theorem
Examples: Master Theorem

 Slides : Recurrences

Wikipedia: Divide and Conquer

Extended Master Theorem

slides: Linear Recurrences


  • 9/16 - 9/23



  • InsertionSort
  • MergeSort
  • HeapSort (CLRS ch6)
  • QuickSort (CLRS ch7)

Slides: Sorting part A

Sorting Animation

QuickSort Analysis Avg Case

podcast: QuickSort

Algorithms Thinking Session Notes (optional)

  • 9/23 - 9/30



  • QuickSort, Partition (CLRS ch7)

  • Counting Sort, Radix Sort (CLRS ch8)
  • Sorting bounds

  • Median, order statistics (CLRS ch9)

Slides: Sorting part B



  • 9/30 - 10/7

Greedy Algorithms (ch 16)
Sub-problem Structure for Greedy

Lecture Notes: Greedy
Notes: Greedy Techniques
Wikipedia: Greedy
Slides : Greedy

podcast: Subproblem Optimal Structure

podcast: Fractional Knapsack

podcast: Activity Selection Problem
  • 10/7 - 10/14


Greedy VS Dynamic Programming (ch 15)
Sub-problem Structure for DynProg

Notes: Coin change
Notes: CheckBoard
Notes: Discrete Knapsack

Slides : DP1
podcast: discrete knapsack
podcast: coin change
podcast: check board

  • 10/14 - 10/21

Dynamic Programming (ch 15)

Notes: LCS
Notes: Matrix Chain Multiplication

Slides: DP2
SlidesDP2 + Optimal BST

  • 10/21 - 10/28
  • Week 8 / Dynamic Programming
  • Lecture 8 Notes

    SAT 10/25 MIDTERM 10AM-6PM
    - room
    - open notes/book/HWs first 90 minutes
    - cheatsheet 4 pages (2 sheets) allowed whole exam

Dynamic Programming (ch 15)
DP problems as DAG Shortest Paths (Notes)



  • 10/28 - 11/4
Week 9/ Recap Simple DataStructures

  • Simple DataStructures Review (CLRS ch10, 12)
  •  
    • 11/4 - 11/11
    Week 10/ DataStructures
    Trees and Hashes
    Skiplists
    Lecture 9 notes



    • Hash Tables (ch 11)
    • RB trees (ch13)

     Hash, RB Tree Slides
    Skiplists   Note ;   Slides ;   Visualizer

     podcast: hash tables
     
    • 11 /11 - 11/18



    • 11/18 - 11/25
    •  
    • Week 12 / Graphs I
    • Graps Intro, BFS, DFS
    • DAGs
    • Strongly Connected Components

    • Lecture 11 notes



    • Graphs Intro (ch 22)
    • Minimum Spanning Trees (ch 23)

     Slides

    Podcast: DFS
    Podcast: SCC
    Podcast: MST
    • 11/25 - 12/2



    • SSSP:  Bellman Ford
    • SSSP:  Dijkstra

     ASSP: DP by edges
     ASSP: DP by vertices (Floyd Warshall)

    Slides


    • 12/2 - 12/9

    • Week 14 / Graphs III,
    • Network Flows


    Lecture 13 notes

    • SP
    • Network Flow
    • MaxFlow-MinCut Theorem
    • Ford-Fulkerson

    Notes

    max Flow Slides

    Push-relabel slides
    Push Relabel text : Use CLRS 3rd edition

     Podcast: MaxFlow


    • FINAL EXAM
      Sat 12/6-9 (TBD)
      10AM-4PM

    open notes/book/HWs first 90 minutes

    cheatsheet 4 pages allowed whole exam

    • Optional / Linear Programming


  • NetFlow: Push-Relabel
  • RSA Math Notes: Number Theory
    Slides: RSA




    • Optional / Advanced Topics (optional)
    • NP-complete Problems, Approx Algorithms, RSA