Seven Bridges of Königsberg
Here's a drawing of the city of Königsberg, Prussia in the early 18th century.
The city was set on both sides of the Pregel River (shown in blue), and included two large islands which were connected to each other and the mainland by seven bridges (shown in red). Someone had posed the question of whether it was possible to walk through the city and cross every bridge exactly once.
In 1735, a mathematician named Leonhard Euler proved that such a route could not exist. In doing so, he basically invented a field of mathematics, which we now call graph theory.
("Euler" is pronounced more or less like "oiler", by the way.)
- About This Site
- Git Makes More Sense When You Understand X
- Example 1: Kent Beck
- Example 2: Git for Ages 4 and Up
- Example 3: Homeomorphic Endofunctors
- Example 4: LSD and Chainsaws
- The Internet Talks Back!
- Graph Theory
- Seven Bridges of Königsberg ←HEAD
- Places To Go, and Ways to Get There
- Nodes and Edges
- Attaching Labels to Nodes
- Attaching Labels to Edges
- Directed Versus Undirected Graphs
- Reachability
- Graphs and Git
- Visualizing Your Git Repository
- References
- The Reference Reference
- Making Sense of the Display
- Garbage Collection
- Experimenting With Git
- References Make Commits Reachable
- My Humble Beginnings
- Branches as Savepoints
- Use Your Targeting Computer, Luke
- Testing Out Merges
- Rebase From the Ground Up
- Cherry-Picking Explained
- Using 'git cherry-pick' to Simulate 'git rebase'
- A Helpful Mnemonic for 'git rebase' Arguments
- The End