What is the time complexity of the program to reverse stack when linked list is used for its implementation?
Posted: Wed Jul 13, 2022 7:40 pm
a) O(n)
b) O(n log n)
c) O(n2)
d) O(log n)
b) O(n log n)
c) O(n2)
d) O(log n)
Accurate answers. Every time.
https://answerhappy.com/