Vidyalelo
Data Structure · Q597

Miscellaneous on Data Structures

Programming · Data Structure · question 597

Q597

What is the time complexity of the above recursive implementation used to reverse a string?

A.
O(1)
B.
O(n)
Answer
C.
O(n2)
D.
O(n3)

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board