In a binary search tree, which of the following traversals would print the numbers in the ascendingorder?
A. Level-order traversal
B. Pre-order traversal
C. Post-order traversal
D. In-order traversal
Answer:D
In a binary search tree, which of the following traversals would print the numbers in the ascendingorder?
A. Level-order traversal B. Pre-order traversal C. Post-order traversal D. In-order traversal