1.

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» B. O(n log n)C) O(n2)D) O(log n)


Discussion

No Comment Found