A ____ is a data structure that stores elements in a linear sequence but allows additions and removals only at the start.

  • Array
  • Linked List
  • Queue
  • Stack
A Stack is a data structure that follows the Last-In-First-Out (LIFO) principle, meaning the last element added is the first to be removed. It allows additions and removals at the start, making it suitable for managing function calls, undo functionality, and more.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *