βΉοΈ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 0.3 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://stanford-cs161.github.io/winter2024/lectures/ |
| Last Crawled | 2026-04-04 11:37:25 (8 days ago) |
| First Indexed | 2024-01-12 16:19:04 (2 years ago) |
| HTTP Status Code | 200 |
| Meta Title | Lectures | CS 161 (Archived) |
| Meta Description | A listing of all the course lectures. |
| Meta Canonical | null |
| Boilerpipe Text | General Lecture Information
Lectures will be recorded and the recordings can be accessed on
Canvas
.
Lecture 1: Why are you here?
Mon, Jan 8, 10:30 am
β
12:00 pm
(Nima)
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Python notebook: [
Colab
] [
Zip
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading: AI Part I 1.1, 1.2, 1.3, 3.1
Recording
Video: [
Canvas
]
Lecture 2: Asymptotics, Worst-Case Analysis, and MergeSort
Wed, Jan 10, 10:30 am
β
12:00 pm
(Nima)
Pre-lecture resources
Pre-lecture exercise: [
PDF
]
Pre-lecture Python notebook: [
Colab
] [
Zip
]
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Python notebook: [
Colab
] [
Zip
]
Concept check questions on asymptotics: [
Interactive SVG
] [
Solved PDF
]
Concept check questions on sorting: [
Interactive SVG
] [
Solved PDF
]
Additional reading: AI Part I 1.4, 1.5, 1.6, 2; CLRS 2.3, 3
Recording
Video: [
Canvas
]
Lecture 3: Solving Recurrences and the Master Theorem
Wed, Jan 17, 10:30 am
β
12:00 pm
(Moses)
Pre-lecture resources
Pre-lecture exercise: [
PDF
]
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading: AI Part I 4; CLRS 4.3, 4.4, 4.5
Recording
Video: [
Canvas
]
Mon, Jan 22, 10:30 am
β
12:00 pm
(Nima)
Pre-lecture resources
Pre-lecture exercise: [
PDF
]
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Python notebook: [
Colab
] [
Zip
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading: AI Part I 6; CLRS 9
Recording
Video: [
Canvas
]
Lecture 5: Randomized Algorithms and QuickSort
Wed, Jan 24, 10:30 am
β
12:00 pm
(Nima)
Pre-lecture resources
Pre-lecture exercise: [
PDF
]
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Python notebook: [
Colab
] [
Zip
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading: AI Part I 5; CLRS 5.1, 5.2, 5.3, 7
Recording
Video: [
Canvas
]
Lecture 6: BucketSort and Lower Bounds for Sorting
Mon, Jan 29, 10:30 am
β
12:00 pm
(Moses)
Pre-lecture resources
Pre-lecture exercise: [
PDF
]
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Python notebook: [
Colab
] [
Zip
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading: AI Part I 5.6; CLRS 8.1, 8.2; [
Avrim Blumβs notes on sorting lower bounds
]
Recording
Video: [
Canvas
]
Lecture 7: Binary Search Trees and Red-Black Trees
Wed, Jan 31, 10:30 am
β
12:00 pm
(Moses)
Pre-lecture resources
Pre-lecture exercise: [
PDF
]
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading: AI Part II 11; CLRS 12.1, 12.2, 12.3, 13
Recording
Video: [
Canvas
]
Lecture 8: Hashing
Mon, Feb 5, 10:30 am
β
12:00 pm
(Nima)
Pre-lecture resources
Pre-lecture exercise: [
PDF
]
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Python notebook: [
Colab
] [
Zip
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading: AI Part II 12; CLRS 11
Recording
Video: [
Canvas
]
Lecture 9: Graphs and BFS and DFS
Wed, Feb 7, 10:30 am
β
12:00 pm
(Nima)
Pre-lecture resources
Pre-lecture exercise: [
PDF
]
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Python notebook: [
Colab
] [
Zip
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading: AI Part II 7, 8.1, 8.2, 8.3, 8.4, 8.5; CLRS 22.1, 22.2, 22.3, 22.4
Recording
Video: [
Canvas
]
Lecture 10: Strongly Connected Components
Mon, Feb 12, 10:30 am
β
12:00 pm
(Moses)
Pre-lecture resources
Pre-lecture exercise: [
PDF
]
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Python notebook: [
Colab
] [
Zip
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading: AI Part II 8.6; CLRS 22.5
Recording
Video: [
Canvas
]
Lecture 11: Dijkstra and Bellman-Ford
Wed, Feb 14, 10:30 am
β
12:00 pm
(Moses)
Pre-lecture resources
Pre-lecture exercise: [
PDF
]
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Python notebook: [
Colab
] [
Zip
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading: AI Part II 9, Part III 18.1, 18.2; CLRS 24.1, 24.3
Recording
Video: [
Canvas
]
Lecture 12: Dynamic Programming: Bellman-Ford and Floyd-Warshall
Wed, Feb 21, 10:30 am
β
12:00 pm
(Nima)
Pre-lecture resources
Pre-lecture exercise: [
PDF
]
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Python notebook: [
Colab
] [
Zip
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading: AI Part III 18; CLRS 25.2, 15.1
Recording
Video: [
Canvas
]
Lecture 13: More Dynamic Programming: LCS, Knapsack, Independent Set
Mon, Feb 26, 10:30 am
β
12:00 pm
(Moses)
Pre-lecture resources
Pre-lecture exercise: None this time!
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading: AI Part III 16; CLRS 15.4
Recording
Video: [
Canvas
]
Lecture 14: Greedy Algorithms
Wed, Feb 28, 10:30 am
β
12:00 pm
(Moses)
Pre-lecture resources
Pre-lecture exercise: [
PDF
]
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Python notebook: [
Colab
] [
Zip
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading: AI Part III 13, 14; CLRS 16.1, 16.2, 16.3
Lecture 15: Minimum Spanning Trees
Mon, Mar 4, 10:30 am
β
12:00 pm
(Nima)
Pre-lecture resources
Pre-lecture exercise: [
PDF
]
Lecture resources (coming)
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Python notebook: [
Colab
] [
Zip
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading: AI Part III 15; CLRS 23
Recording
Video: [
Canvas
]
Lecture 16: Max-Flow and the Ford-Fulkerson Algorithm
Wed, Mar 6, 10:30 am
β
12:00 pm
(Nima)
Pre-lecture resources
Pre-lecture exercise: [
PDF
]
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading: CLRS 26.1, 26.2, 26.3; Alexander Schrijverβs paper:
On the history of the transportation and maximum flow problem
Recording
Video: [
Canvas
]
Lecture 17: Stable Matchings and Gale-Shapley
Mon, Mar 11, 10:30 am
β
12:00 pm
(Moses)
Pre-lecture resources
Pre-lecture exercise: None this time!
Lecture resources
Lecture notes: [
PDF
]
Slides: [
PDF
] [
PowerPoint
]
Concept check questions: [
Interactive SVG
] [
Solved PDF
]
Additional reading:
Lecture notes by Tim Roughgarden
.
Recording
Video: [
Canvas
]
Lecture 18: What's next?
Wed, Mar 13, 10:30 am
β
12:00 pm
(Moses)
Pre-lecture resources
Pre-lecture exercise: None this time!
Lecture resources
Slides: [
PDF
] [
PowerPoint
]
Recording
Video: [
Canvas
] |
| Markdown | [CS 161 (Archived)](https://stanford-cs161.github.io/winter2024/)
- [Schedule](https://stanford-cs161.github.io/winter2024/schedule/)
- [Lectures](https://stanford-cs161.github.io/winter2024/lectures/)
- [EthiCS Lectures](https://stanford-cs161.github.io/winter2024/ethics/)
- [Sections](https://stanford-cs161.github.io/winter2024/sections/)
- [Homework](https://stanford-cs161.github.io/winter2024/homework/)
- [Exams](https://stanford-cs161.github.io/winter2024/exams/)
- [Resources](https://stanford-cs161.github.io/winter2024/resources/)
- [Policies](https://stanford-cs161.github.io/winter2024/policies/)
- [Staff / Office Hours](https://stanford-cs161.github.io/winter2024/staff/)
- [CS 161A](https://stanford-cs161.github.io/winter2024/cs161a/)
This site uses [Just the Docs](https://github.com/pmarsceill/just-the-docs), a documentation theme for Jekyll.
- [Canvas](https://canvas.stanford.edu/courses/185149)
- [Ed](https://edstem.org/us/courses/50592)
- [Gradescope](https://www.gradescope.com/courses/688809)
## General Lecture Information
- Lectures will be recorded and the recordings can be accessed on [Canvas](https://canvas.stanford.edu/courses/185149).
## Lectures
## Lecture 1: Why are you here?
[Mon, Jan 8, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240108T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240108T1200&p1=1240) (Nima)
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture1-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture1-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture1-slides.pptx)\]
- Python notebook: \[[Colab](http://colab.research.google.com/github/stanford-cs161/winter2024-extra/blob/colab/lecture1_karatsuba.ipynb)\] \[[Zip](https://stanford-cs161.github.io/winter2024-extra/lecture1_karatsuba.zip)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/multiplication.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/multiplication.pdf)\]
- Additional reading: AI Part I 1.1, 1.2, 1.3, 3.1
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=bc93eae7-82b1-478e-b373-b0dd00055712)\]
## Lecture 2: Asymptotics, Worst-Case Analysis, and MergeSort
[Wed, Jan 10, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240110T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240110T1200&p1=1240) (Nima)
##### Pre-lecture resources
- Pre-lecture exercise: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture2-pre.pdf)\]
- Pre-lecture Python notebook: \[[Colab](http://colab.research.google.com/github/stanford-cs161/winter2024-extra/blob/colab/lecture2_pre.ipynb)\] \[[Zip](https://stanford-cs161.github.io/winter2024-extra/lecture2_pre.zip)\]
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture2-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture2-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture2-slides.pptx)\]
- Python notebook: \[[Colab](http://colab.research.google.com/github/stanford-cs161/winter2024-extra/blob/colab/lecture2_sorting.ipynb)\] \[[Zip](https://stanford-cs161.github.io/winter2024-extra/lecture2_sorting.zip)\]
- Concept check questions on asymptotics: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/asymptotics.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/asymptotics.pdf)\]
- Concept check questions on sorting: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/sorting.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/sorting.pdf)\]
- Additional reading: AI Part I 1.4, 1.5, 1.6, 2; CLRS 2.3, 3
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=7676a00c-8c7b-420c-85f4-b0dd0005576d)\]
## Lecture 3: Solving Recurrences and the Master Theorem
[Wed, Jan 17, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240117T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240117T1200&p1=1240) (Moses)
##### Pre-lecture resources
- Pre-lecture exercise: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture3-pre.pdf)\]
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture3-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture3-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture3-slides.pptx)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/recurrence.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/recurrence.pdf)\]
- Additional reading: AI Part I 4; CLRS 4.3, 4.4, 4.5
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=d2cc4ef3-4b5c-4013-a377-b0dd000557ba)\]
## Lecture 4: Median and Selection
[Mon, Jan 22, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240122T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240122T1200&p1=1240) (Nima)
##### Pre-lecture resources
- Pre-lecture exercise: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture4-pre.pdf)\]
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture4-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture4-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture4-slides.pptx)\]
- Python notebook: \[[Colab](http://colab.research.google.com/github/stanford-cs161/winter2024-extra/blob/colab/lecture4_select.ipynb)\] \[[Zip](https://stanford-cs161.github.io/winter2024-extra/lecture4_select.zip)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/select.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/select.pdf)\]
- Additional reading: AI Part I 6; CLRS 9
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=397943e0-5f06-4ed3-bed2-b0ff01310f78)\]
## Lecture 5: Randomized Algorithms and QuickSort
[Wed, Jan 24, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240124T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240124T1200&p1=1240) (Nima)
##### Pre-lecture resources
- Pre-lecture exercise: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture5-pre.pdf)\]
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture5-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture5-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture5-slides.pptx)\]
- Python notebook: \[[Colab](http://colab.research.google.com/github/stanford-cs161/winter2024-extra/blob/colab/lecture5_quicksort.ipynb)\] \[[Zip](https://stanford-cs161.github.io/winter2024-extra/lecture5_quicksort.zip)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/random.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/random.pdf)\]
- Additional reading: AI Part I 5; CLRS 5.1, 5.2, 5.3, 7
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=b7874fa8-cbbd-48ca-a017-b0dd000557fd)\]
## Lecture 6: BucketSort and Lower Bounds for Sorting
[Mon, Jan 29, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240129T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240129T1200&p1=1240) (Moses)
##### Pre-lecture resources
- Pre-lecture exercise: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture6-pre.pdf)\]
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture6-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture6-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture6-slides.pptx)\]
- Python notebook: \[[Colab](http://colab.research.google.com/github/stanford-cs161/winter2024-extra/blob/colab/lecture6_bucketsort.ipynb)\] \[[Zip](https://stanford-cs161.github.io/winter2024-extra/lecture6_bucketsort.zip)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/sortingmodels.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/sortingmodels.pdf)\]
- Additional reading: AI Part I 5.6; CLRS 8.1, 8.2; \[[Avrim Blumβs notes on sorting lower bounds](http://www.cs.cmu.edu/~avrim/451f11/lectures/lect0913.pdf)\]
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=16d283da-eabc-470f-8801-b0dd0005584b)\]
## Lecture 7: Binary Search Trees and Red-Black Trees
[Wed, Jan 31, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240131T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240131T1200&p1=1240) (Moses)
##### Pre-lecture resources
- Pre-lecture exercise: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture7-pre.pdf)\]
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture7-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture7-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture7-slides.pptx)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/bst.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/bst.pdf)\]
- Additional reading: AI Part II 11; CLRS 12.1, 12.2, 12.3, 13
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=a6e68b7c-6016-4b80-aeca-b0dd0005585e)\]
## Lecture 8: Hashing
[Mon, Feb 5, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240205T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240205T1200&p1=1240) (Nima)
##### Pre-lecture resources
- Pre-lecture exercise: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture8-pre.pdf)\]
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture8-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture8-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture8-slides.pptx)\]
- Python notebook: \[[Colab](http://colab.research.google.com/github/stanford-cs161/winter2024-extra/blob/colab/lecture8_hashing.ipynb)\] \[[Zip](https://stanford-cs161.github.io/winter2024-extra/lecture8_hashing.zip)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/hashing.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/hashing.pdf)\]
- Additional reading: AI Part II 12; CLRS 11
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=7403154f-3b33-49ee-b75b-b0dd0005588e)\]
## Lecture 9: Graphs and BFS and DFS
[Wed, Feb 7, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240207T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240207T1200&p1=1240) (Nima)
##### Pre-lecture resources
- Pre-lecture exercise: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture9-pre.pdf)\]
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture9-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture9-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture9-slides.pptx)\]
- Python notebook: \[[Colab](http://colab.research.google.com/github/stanford-cs161/winter2024-extra/blob/colab/lecture9_graphs.ipynb)\] \[[Zip](https://stanford-cs161.github.io/winter2024-extra/lecture9_graphs.zip)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/bfsdfs.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/bfsdfs.pdf)\]
- Additional reading: AI Part II 7, 8.1, 8.2, 8.3, 8.4, 8.5; CLRS 22.1, 22.2, 22.3, 22.4
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=392878c1-e58b-4aa7-83bb-b0dd000558b0)\]
## Lecture 10: Strongly Connected Components
[Mon, Feb 12, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240212T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240212T1200&p1=1240) (Moses)
##### Pre-lecture resources
- Pre-lecture exercise: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture10-pre.pdf)\]
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture10-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture10-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture10-slides.pptx)\]
- Python notebook: \[[Colab](http://colab.research.google.com/github/stanford-cs161/winter2024-extra/blob/colab/lecture10_scc.ipynb)\] \[[Zip](https://stanford-cs161.github.io/winter2024-extra/lecture10_scc.zip)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/scc.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/scc.pdf)\]
- Additional reading: AI Part II 8.6; CLRS 22.5
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=5e56256c-98f8-43f6-8702-b0dd000558dc)\]
## Lecture 11: Dijkstra and Bellman-Ford
[Wed, Feb 14, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240214T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240214T1200&p1=1240) (Moses)
##### Pre-lecture resources
- Pre-lecture exercise: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture11-pre.pdf)\]
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture11-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture11-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture11-slides.pptx)\]
- Python notebook: \[[Colab](http://colab.research.google.com/github/stanford-cs161/winter2024-extra/blob/colab/lecture11_dijkstra.ipynb)\] \[[Zip](https://stanford-cs161.github.io/winter2024-extra/lecture11_dijkstra.zip)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/dijkstra.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/dijkstra.pdf)\]
- Additional reading: AI Part II 9, Part III 18.1, 18.2; CLRS 24.1, 24.3
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=d90ca3e3-23de-4737-9148-b0dd000558f9)\]
## Lecture 12: Dynamic Programming: Bellman-Ford and Floyd-Warshall
[Wed, Feb 21, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240221T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240221T1200&p1=1240) (Nima)
##### Pre-lecture resources
- Pre-lecture exercise: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture12-pre.pdf)\]
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture12-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture12-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture12-slides.pptx)\]
- Python notebook: \[[Colab](http://colab.research.google.com/github/stanford-cs161/winter2024-extra/blob/colab/lecture12_dp.ipynb)\] \[[Zip](https://stanford-cs161.github.io/winter2024-extra/lecture12_dp.zip)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/dp1.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/dp1.pdf)\]
- Additional reading: AI Part III 18; CLRS 25.2, 15.1
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=ba8ec6b7-b8b2-4c77-8cf3-b0dd00055941)\]
## Lecture 13: More Dynamic Programming: LCS, Knapsack, Independent Set
[Mon, Feb 26, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240226T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240226T1200&p1=1240) (Moses)
##### Pre-lecture resources
- Pre-lecture exercise: None this time\!
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture13-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture13-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture13-slides.pptx)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/dp2.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/dp2.pdf)\]
- Additional reading: AI Part III 16; CLRS 15.4
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=27748bef-3608-4ca8-9b1d-b0dd00055970)\]
## Lecture 14: Greedy Algorithms
[Wed, Feb 28, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240228T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240228T1200&p1=1240) (Moses)
##### Pre-lecture resources
- Pre-lecture exercise: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture14-pre.pdf)\]
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture14-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture14-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture14-slides.pptx)\]
- Python notebook: \[[Colab](http://colab.research.google.com/github/stanford-cs161/winter2024-extra/blob/colab/lecture14_greedy.ipynb)\] \[[Zip](https://stanford-cs161.github.io/winter2024-extra/lecture14_greedy.zip)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/greedy.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/greedy.pdf)\]
- Additional reading: AI Part III 13, 14; CLRS 16.1, 16.2, 16.3
## Lecture 15: Minimum Spanning Trees
[Mon, Mar 4, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240304T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240304T1200&p1=1240) (Nima)
##### Pre-lecture resources
- Pre-lecture exercise: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture15-pre.pdf)\]
##### Lecture resources (coming)
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture15-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture15-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture15-slides.pptx)\]
- Python notebook: \[[Colab](http://colab.research.google.com/github/stanford-cs161/winter2024-extra/blob/colab/lecture15_mst.ipynb)\] \[[Zip](https://stanford-cs161.github.io/winter2024-extra/lecture15_mst.zip)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/mst.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/mst.pdf)\]
- Additional reading: AI Part III 15; CLRS 23
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=8df01122-97bf-411d-a516-b0dd000559b6)\]
## Lecture 16: Max-Flow and the Ford-Fulkerson Algorithm
[Wed, Mar 6, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240306T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240306T1200&p1=1240) (Nima)
##### Pre-lecture resources
- Pre-lecture exercise: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture16-pre.pdf)\]
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture16-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture16-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture16-slides.pptx)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/maxflow.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/maxflow.pdf)\]
- Additional reading: CLRS 26.1, 26.2, 26.3; Alexander Schrijverβs paper: [On the history of the transportation and maximum flow problem](https://link.springer.com/article/10.1007/s101070100259)
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=b8d10584-0ce3-47a1-b819-b0dd000559cf)\]
## Lecture 17: Stable Matchings and Gale-Shapley
[Mon, Mar 11, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240311T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240311T1200&p1=1240) (Moses)
##### Pre-lecture resources
- Pre-lecture exercise: None this time\!
##### Lecture resources
- Lecture notes: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture17-notes.pdf)\]
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture17-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture17-slides.pptx)\]
- Concept check questions: \[[Interactive SVG](https://stanford-cs161.github.io/winter2024-bank/stablematching.svg)\] \[[Solved PDF](https://stanford-cs161.github.io/winter2024-bank/stablematching.pdf)\]
- Additional reading: [Lecture notes by Tim Roughgarden](https://timroughgarden.org/f16/l/l2.pdf).
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=8c32635b-2319-4405-91c0-b0dd00055a05)\]
## Lecture 18: What's next?
[Wed, Mar 13, 10:30 am](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240313T1030&p1=1240) β [12:00 pm](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20240313T1200&p1=1240) (Moses)
##### Pre-lecture resources
- Pre-lecture exercise: None this time\!
##### Lecture resources
- Slides: \[[PDF](https://stanford-cs161.github.io/winter2024/assets/files/lecture18-slides.pdf)\] \[[PowerPoint](https://stanford-cs161.github.io/winter2024/assets/files/lecture18-slides.pptx)\]
##### Recording
- Video: \[[Canvas](https://stanford-pilot.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=eec973d2-85d6-4ede-a234-b0dd00055a2e)\] |
| Readable Markdown | null |
| Shard | 143 (laksa) |
| Root Hash | 2566890010099092343 |
| Unparsed URL | io,github!stanford-cs161,/winter2024/lectures/ s443 |