OOP & Design Patterns - Command Pattern - Undo/Redo, Request Queuing & Logging
Given the following undo and redo stacks after several command executions and undos, which command was most recently executed?
undo_stack (top to bottom): [AddCommand(2), AddCommand(5)]
redo_stack (top to bottom): [AddCommand(3)]
