Q974
What is the time complexity of the program to reverse stack when linked list is used for its implementation?
A.
O(n)
AnswerB.
O(n log n)
C.
O(n2)
D.
O(log n)
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board