Question: 1. Draw an adjacency list and an adjacency matrix representation of the undirected graph shown in Figure 1. W Z Figure 1: An undirected

1. Draw an adjacency list and an adjacency matrix representation of the undirected graph shown in Figure 1. W Z Figure 1: An undirected graph for question 1. 2. Demonstrate breadth-first search on the graph in figure 1 starting at node "Z". Where a node has multiple neighbours, visit them in alphabetical order. 3. Demonstrate depth-first search on the graph in figure 1 starting at node "U". Where a node has multiple neighbours, visit them in alphabetical order.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
