Answer Happy
Accurate answers. Every time.
https://answerhappy.com/
What is the space complexity of program to reverse stack recursively?
https://answerhappy.com/viewtopic.php?t=735155
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)