Domanda di colloquio di TEKsystems

How would you implement an undo/redo in a simple editor