Page 1 of 1

Please answer the following questions for number one with details

Posted: Tue Jul 05, 2022 10:26 am
by answerhappygod
Please answer the following questions for number one withdetails
Please Answer The Following Questions For Number One With Details 1
Please Answer The Following Questions For Number One With Details 1 (73.13 KiB) Viewed 10 times
Q.1 [20 Pts] Graph Representation: Consider the following graph G and answer questions given below. a) [10 Points] Represent the above graph using adj-matrix and adj-list techniques. 1 M b) [10 Points] The following table shows all the graph algorithms that we have discussed in the class. Fill the second and third column indicating running time and the space requirement for each algorithm Algorithm Running Time Space Requirements BFS DFS Prim's Kruska's Dijkstra Bellman-Ford 2. (15 points) Consider the graph G given below. Compute an MST of G using Prim's algorithm. Specifically, list the edges selected into the tree in the correct order, and then draw the final MST. Must show all the intermediate steps for full credit