\'\'\' from collections import defaultdict class Graph: def init(self,vertices): # No. of vertices self.V= vertices self.graph= defaultdic