algorithms.tutorialhorizon.com
Graph Implementation – Adjacency List Java | Algorithms
In this article we will implement the Graph using adjacency List in java. Graph is a collection of nodes or vertices (V) and edges(E) between them. We can traverse these nodes using the edges. These edges might be weighted or non-weighted.