πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!

  • google app store apple app store
  • βœ–

      Question

      Which data structure is used for implementing

      breadth-first search (BFS) algorithm?
      A Stack Correct Answer Incorrect Answer
      B Queue Correct Answer Incorrect Answer
      C Linked list Correct Answer Incorrect Answer
      D Tree Correct Answer Incorrect Answer

      Solution

      Queue is used to implement BFS.

      Practice Next

      Relevant for Exams:

      ask-question