CS5800 Algorithms Section 2, Summer 2026

about CS5800      home      schedule    gradescope     piazza    

* Schedule and materials subject to change
Week / Module Topic / Lecture Other Reading Assignment
  • 5/4 - 5/11


  • 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 Self-Assessment Exam (optional, no credit)
  • 5/11 - 5/18


  (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


  • 5/18 - 5/25



  • 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)

  • 5/25 - 6/1



  • QuickSort, Partition (CLRS ch7)

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

  • Median, order statistics (CLRS ch9)

Slides: Sorting part B



  • LLM-PB2: 4 item auction due 6/9
    • 6/1 - 6/8

    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
    • 6/8 - 6/15


    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

    • 6/15 - 6/22

    Dynamic Programming (ch 15)

    Notes: LCS
    Notes: Matrix Chain Multiplication

    Slides: DP2
    SlidesDP2 + Optimal BST

    • 6/22 - 6/29
    • Week 8 / Dynamic Programming
    • Lecture 8 Notes

      FRI or SAT 6/26-27 MIDTERM 10AM-6PM
      - room TBD
      - 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)



    • 6/29 - 7/6
    Week 9/ Recap Simple DataStructures

  • Simple DataStructures Review (CLRS ch10, 12)
  •  
    • 7/6 - 7/13
    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
     
    • 7 /13 - 7/20



    • 7/20 - 7/27
    •  
    • Week 12 / Graphs I
    • Graps Intro, BFS, DFS
    • DAGs
    • Strongly Connected Components

    • Lecture 11 notes
    Screencast 11/11/25 : Graphs part 1



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

     Slides

    Podcast: DFS
    Podcast: SCC
    Podcast: MST
    • 7/27 - 8/3



    • SSSP:  Bellman Ford
    • SSSP:  Dijkstra

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

    Slides


    • 8/3 - 8/10

    • 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

    • 12/2 - 12/9

    • Optional / Linear Programming


    RSA Math Notes: Number Theory
    Slides: RSA




    • FINAL EXAM
      Thu/Fri August 13-14 , 6 hours



    open notes/book/HWs first 90 minutes

    cheatsheet 4 pages allowed whole exam

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