Choosing an undo structure

A project application records enough information to reverse each edit. A user creates a note, changes the due date, and then renames the project. Each press of Undo must reverse the most recent edit that has not already been undone. Which structure's standard access rule best matches this requirement?


A timeline shows three project edits in the order they occurred.


Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Data Structures Questions: