Excel Redo and Undo Simulation
Asked at Airtable · Coding Questions · Difficulty: Medium
You need to implement the redo and undo functionality of Excel software. Simulate the user's ability to undo (revoke the last operation) and redo (restore the last undone operation) in spreadsheet software. You should support the following operations: 1. Record a new operation. 2. Undo the most recent operation. 3. Redo the most recently undone operation. You must maintain the order of operations and cannot redo operations that have already been executed.
Loading the problem…