In a binary search tree, which of the following traversals would print the numbers in the ascending order?

Q & ACategory: Data StructureIn a binary search tree, which of the following traversals would print the numbers in the ascending order?
Admin Staff asked 4 years ago

In a binary search tree, which of the following traversals would print the numbers in the ascending order?
a) Level-order traversal
b) Pre-order traversal
c) Post-order traversal
d) In-order traversal

1 Answers
Admin Staff answered 4 years ago

d) In-order traversal