Q.

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)

A. O(1)
B. O(nlogd)
C. O(logd)
D. O(d)
Answer» D. O(d)
1.6k
0
Do you find this helpful?
1

View all MCQs in

Data Structures (DS)

Discussion

No comments yet