Domanda di colloquio di Rokt

Imagine you are creating google docs, implement redo and undo functions.