Question: What is the time complexity of reversing a stack using recursion?
Options:
Correct Answer: O(n)
Solution:
Reversing a stack using recursion has a time complexity of O(n) as each element is processed once.