Hello everybody!
Can somebody help me with this questions?
1.What is the time complexity for (a) adding an edge, (b) checking whether there is an edge between two vertices, and (c) retrieving all vertices adjacent to a vertex in the adjacency matrix representation?
2.Explain what the largest strong component size is in a directed acyclic graph.
Can somebody help me with this questions?
1.What is the time complexity for (a) adding an edge, (b) checking whether there is an edge between two vertices, and (c) retrieving all vertices adjacent to a vertex in the adjacency matrix representation?
2.Explain what the largest strong component size is in a directed acyclic graph.