題組內容
1. [Basic Data Structu ures: ]
(5) Given the adjacency matrix of an undirected graph:
Show the sequence of nodes that you visit by using breadth-first search and depth-first scarch. If
there are multiple choices to select nodes, just follow the alphabetical order.