Revolut Interview Question

Talk about the Memento pattern.