P1 Traversal Flashcards

1
Q

Application of breadth-first traversal

A

Finding shortest path between 2 points

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Application of depth first traversal

A

Problem solving such as navigating maze

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Depth first

A

Go as far down a path before backtracking

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Breadth first

A

Explore all neighbours of current vertex, then move onto neighbour vertices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly