Question DSA-STK-0030
EasyYou push each character of 'CAT' onto a stack and then pop them all. In what order do they come out?
- A.
A, C, T
- B.
C, T, A
- 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
You push each character of 'CAT' onto a stack and then pop them all. In what order do they come out?
A, C, T
C, T, A
Sign up free to see the answer and a step-by-step explanation.
T, A, C
C, A, T