17. 下列那一種資料結構(data structure)最適合採用廣度優先搜尋(breadth first
search)走訪一個圖形(graph)?
(A)集合(set)
(B)串列(list)
(C)堆疊(stack)
(D)佇列(queue)
答案:登入後查看
統計: A(39), B(48), C(94), D(394), E(0) #718112
統計: A(39), B(48), C(94), D(394), E(0) #718112
詳解 (共 1 筆)
#1661493
(C)堆疊(stack)- 深度優先搜尋
(D)佇列(queue)-廣度優先搜尋
28
0