Deck 3: Traversals

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/5

encourage image

There's no tags or description

Looks like no tags are added yet.

6 Terms

1
New cards

Pre-order traversal?

Root → Left → Right

2
New cards

In-order traversal?

Left → Root → Right

3
New cards

Post-order traversal?

Left → Right → Root

4
New cards

Level-order traversal?

Visit each level from top to bottom.

5
New cards

Which traversal uses a Queue?

Level-order traversal.

6
New cards

Which traversal outputs BST values in ascending order?

In-order traversal.