I\'m implementing some algorithms to teach myself about graphs and how to work with them. What would you recommend is the best way to do that in Java? I was thinking somethi
class Graph { private List> vertices; private static class Vertex { E elem; List> neighbors; } }