Pergunta de entrevista da empresa Microsoft

How to implement undo and redo in computer