Question DSA-STK-0050
MediumWhat is the time complexity of converting an infix expression of n tokens to postfix with a stack?
- A.
O(n log n)
- B.
O(log n)
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Stacks question
What is the time complexity of converting an infix expression of n tokens to postfix with a stack?
O(n log n)
O(log n)
Sign up free to see the answer and a step-by-step explanation.
O(n²)
O(n)