Question: If a stack is used to evaluate an expression in postfix notation, what is the time complexity of the evaluation?
Options:
Correct Answer: O(n)
Solution:
The time complexity of evaluating an expression in postfix notation using a stack is O(n), where n is the number of tokens in the expression.