Answer (Choose 1 answer)
Given a graph in the figure, the weighted matrix of the graph is (visitnodes in ABC order):
5
A. [[0, 5, 0, 40], [0, 0, 10, 0], [0, 10, 0, 10]. [0.0.. 0]]
B. [[0, 1, 0, 0], [0, 0, 10, 0], [0, 1, 1, 0], [0, 0, 0, 0]]
C. [[0, 1, 0, 1], [1. 0, 1, 1], [0, 1, 0, 1]. [1, 1, 1, 0]]
D. [[0. 1. 0. 1]. [0. 0. 1. 0], [0, 1, 0, 0], [0, 0, 1, 0]]
40
10
10
Exit 29