Glossary: Data Structures and Algorithms in Java
adjacency list
Also written: adjacency lists
A way to store a graph as a Map from each vertex to the list of its neighbors. Alex's road map stores "Roastery" with the list of places one road away.
Glossary: Data Structures and Algorithms in Java
Also written: adjacency lists
A way to store a graph as a Map from each vertex to the list of its neighbors. Alex's road map stores "Roastery" with the list of places one road away.