← 回題庫

卷別

資料結構與演算法

選擇

國立中興大學 2025 · 考試 · 第 20 題

考科演算法

(3 points) Which data structure is commonly used to implement breadth-first search (BFS) on graphs?

  • (A)
    Stack
  • (B)
    Queue
  • (C)
    Heap
  • (D)
    Hash Table

標準解析

AI 已複查