QuizAdvanced
Choosing the Right Data Structure
Learn when to reach for a stack, a queue, or a hash map for common tasks.
You are implementing a browser's 'Back' button, where clicking Back returns you to the most recently visited page. Which data structure best models this behavior?