Courses
Tracks
All courses
/
Data Structures with Python
Breadth-first and depth-first traversal quiz
Breadth-first and depth-first traversal
11 / 11
Breadth-first and depth-first traversal
Breadth-first and depth-first traversal quiz
Question 1 of 4
25%
When should BFS mark a new neighbor seen?
Only when it leaves the queue.
When it is first enqueued.
After all its descendants finish.
Submit Answer