Question: Datastructure and algorithm for undo and redo of a wordprocessor?

Solution: Stack using Linked List