Multiple choice

Which of the following statements regarding the stack data structure is false?

  1. Solving the puzzle called Tower of Hanoi implements stacks.

  2. A stack is a restricted data structure.

  3. A stack may be implemented to have a bounded capacity.

  4. A stack is a specific data structure.

  5. Backtracking is an important application of stacks.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

A stack is a particular kind of abstract data type or collection in which the principal (or only) operations on the collection are the addition of an entity to the collection, known as push and removal of an entity, known as pop.