Q. What is the time complexity of pre-order traversal in the iterative fashion? (Solved)

1. O(1)

2. O(n)

3. O(logn)

4. O(nlogn)

  • b. O(n)
Subscribe Now

Get All Updates & News