Examveda

What is the time complexity of the program to reverse stack when linked list is used for its implementation?

A. O(n)

B. O(n log n)

C. O(n2)

D. O(log n)

Answer: Option A


This Question Belongs to Data Structure >> Miscellaneous On Data Structures

Join The Discussion

Related Questions on Miscellaneous on Data Structures