Stack Operations
If you can teach Stack Operations using undo typing, you know it. If you only know the heading, you don’t.
Stack Operations order — meaning → push / pop LIFO → one limit. Dumping ten features helps nobody.
Stack Operations exists so Meera can keep undo typing correct in a tiny editor.
Stack Operations shows up in a tiny editor. Name undo typing, not “a real-world scenario”.
Stack Operations trap — pop on empty. Meera loses marks for that every viva.
Stack Operations is not a lonely heading. Meera ties it to undo typing.
Close Stack Operations with — “If I skip it, undo typing goes wrong like this: pop on empty.”
| 3 | ← top (pop)
| 2 |
| 1 |
LIFOBoard: undo typing. Dry-run Stack Operations. Name the trap: pop on empty.