Question DSA-STK-0005
EasyWhich of these uses a stack?
- A.
A printer queue
- B.
The undo feature of a text editor
- C.
Show answer and explanation
Answer: B
The most recent action is undone first — LIFO.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Stacks question
Which of these uses a stack?
A printer queue
The undo feature of a text editor
Answer: B
The most recent action is undone first — LIFO.
Breadth-first search
A ticket counter line