Page 1 of 1

What will be the time complexity of the code to reverse stack recursively?

Posted: Wed Jul 13, 2022 7:40 pm
by answerhappygod
a) O(n)
b) O(n log n)
c) O(log n)
d) O(n2)