2/10 Flashcards
(3 cards)
1
Q
BFS
A
Visits all neighbor nodes first
2
Q
Tree Edge
A
Edge first formed between parent and child
3
Q
Cross edge
A
Two nodes that do not share an ancestor
BFS
Visits all neighbor nodes first
Tree Edge
Edge first formed between parent and child
Cross edge
Two nodes that do not share an ancestor