Page 1 of 1

What is the space complexity of program to reverse stack recursively?

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