1

What is the space complexity of the in-order traversal in the recursive fashion? (d is the tree depth and n is the number of nodes)

Correct Answer: O(d)

Make the most of this question

This page focuses on one Data Structure (DS) question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.

Data Structure (DS) MCQ: What is the space complexity of the in-order traversal in the recursive fashion? (d is the tree depth and n is the number of nodes) | Extra Education