Glossary: Algorithms Beyond the Basics in Go
Adjacency list
A way to store a graph as a map from each place to a slice of its neighbors. In a weighted graph, each neighbor entry also carries the road's driving minutes.
Glossary: Algorithms Beyond the Basics in Go
A way to store a graph as a map from each place to a slice of its neighbors. In a weighted graph, each neighbor entry also carries the road's driving minutes.