1. Computer Science Engineering (CSE)
  2. Data Structures (DS)
  3. Non Linear Data Structures - Trees
  4. What is the time complexity of pre-order...
Q.

What is the time complexity of pre-order traversal in the iterative fashion?

A. O(1)
B. O(n)
C. O(logn)
D. O(nlogn)
Answer» B. O(n)
View all MCQs in:   Data Structures (DS)

Discussion