From a9d44c3a2583f21097f9e867302e8ebcb63478a1 Mon Sep 17 00:00:00 2001 From: Ian Chiu <36751646+KNChiu@users.noreply.github.com> Date: Fri, 28 Mar 2025 17:09:29 +0800 Subject: [PATCH] fix(zh-hant translation): graph_traversal.md (#1711) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 修正 graph_traversal.md 繁體中文版錯誤的文字 `列列` -> `隊列` * Update graph_traversal.md --------- Co-authored-by: Yudong Jin --- zh-hant/docs/chapter_graph/graph_traversal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-hant/docs/chapter_graph/graph_traversal.md b/zh-hant/docs/chapter_graph/graph_traversal.md index f611b734c..4b855bc91 100644 --- a/zh-hant/docs/chapter_graph/graph_traversal.md +++ b/zh-hant/docs/chapter_graph/graph_traversal.md @@ -14,7 +14,7 @@ BFS 通常藉助佇列來實現,程式碼如下所示。佇列具有“先入先出”的性質,這與 BFS 的“由近及遠”的思想異曲同工。 -1. 將走訪起始頂點 `startVet` 加入列列,並開啟迴圈。 +1. 將走訪起始頂點 `startVet` 加入佇列,並開啟迴圈。 2. 在迴圈的每輪迭代中,彈出佇列首頂點並記錄訪問,然後將該頂點的所有鄰接頂點加入到佇列尾部。 3. 迴圈步驟 `2.` ,直到所有頂點被訪問完畢後結束。