Loading page…
The config editor of an engineering platform needs an Undo button that takes back the newest edit first. That is a stack: values are added and removed at one end, so the last value pushed is the first popped. The lecture shows a stack on an array and on a linked list, every operation step by step with its cost, the call stack and stack overflow, when to choose a stack, and the classic mistakes.
Every editor you have used has an Undo button.