Solved

Which of the Following Statements About Breadth-First and Depth-First Traversal

Question 75

Multiple Choice

Which of the following statements about breadth-first and depth-first traversal is NOT correct?


A) Depth-first search goes deeply into the tree and then backtracks when it reaches the leaves.
B) Breadth-first and depth-first search only work on a binary tree.
C) Breadth-first search first visits all nodes on the same level before visiting the children.
D) Depth-first search uses a stack to track the nodes that it visits.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents