Assignment 3:
Write
a function to get the number of vertices in an un-directed graph and its edges.
You may assume that no edge is input twice.
i.
Use adjacency list representation of the graph and find run time of the function
ii. Use adjacency matrix representation of the graph and find run time of the function
Comments
Post a Comment