Question: a) Using the given graph, answer the following questions: 1. 2. (2 Marks) Write the adjacency list of the graph (2 Marks) List the
a) Using the given graph, answer the following questions: 1. 2. (2 Marks) Write the adjacency list of the graph (2 Marks) List the graph's nodes in a depth-first traversal starting from node 0. Choose the node with the smallest label when you have the possibility to select from several nodes 3. (2 Marks) List the graph's nodes in a breadth-first traversal starting from node 0. Choose the node with the smallest label when you have the possibility to select from several nodes
Step by Step Solution
3.39 Rating (155 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
