Algorithm Science (Summer 2025) - 27 - Graphs and Traversals @billbird2597
Algorithm Science (Summer 2025) - 27 - Graphs and Traversals  @billbird2597
Uploaded May 2025 | Updated November 2026, 3 hours ago
This video was made as part of a second-year undergraduate algorithms course sequence (Algorithms and Data Structures I and II).

0:00 Introduction
0:46 Bipartite Graphs
5:48 Cycles and Bipartitions
32:36 Algorithms to Find Bipartitions
48:45 Flood Fill
55:25 Path Finding
1:03:35 The 15-Puzzle
1:08:07 River Routing
1:18:39 Measuring with Buckets
1:23:53 Filling Buckets Using Graphs

The road maps on slides 45 - 51 were created from OpenStreetMap data (© OpenStreetMap contributors).
The data used to construct the river maps on slides 57 - 59 was derived from the TRIP dataset (T. Oki and Y. C. Sud, 1998).
The version of the three bucket problem used in these slides (and one of the examples) is based on a description by Stan Wagon at mathforum.org/wagon/2015/p1204.html

All other slides and diagrams are original content (developed between 2015 and 2025). The materials used in this video, and the video itself, were prepared without any assistance from generative AI.

As any viewer will quickly realize, these videos were made just like in-person lectures: in one sitting, with no breaks, editing or script. If you find any of this helpful or interesting, please let me know (I really appreciate any other feedback as well).
Algorithm Science (Summer 2025) - 27 - Graphs and TraversalsC++ Programming (Spring 2022) - Lecture 10.07 - Initializer ListsC++ Programming (Spring 2022) - Lecture 4.08 - Lists and IteratorsC Programming Practice (Fall 2023) - 5.02 - Debugging II (Arguing with an AI)C Programming Practice (Fall 2023) - 6.01 - Pointers IC++ Programming (Spring 2022) - Lecture 3.09 - Custom Exception TypesAlgorithm Science (Summer 2025) - 40 - Network Flows IVC++ Programming (Spring 2022) - Lecture 7.07 - Objects Containing ObjectsAlgorithm Science (Summer 2025) - 20 - Hashing IData Compression (Summer 2023) - Lecture 12 - The Burrows-Wheeler Transform (BWT)C++ Programming (Spring 2022) - Lecture 6.01 - Object Oriented ProgrammingAlgorithm Science (Summer 2025) - 42 - The Most Powerful Computer in the Universe
BillBird |

Algorithm Science (Summer 2025) - 27 - Graphs and Traversals

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER