Which of the following statements is true about a stack implemented using a linked list?

Options

  • A. It has a fixed size
  • B. It can grow dynamically
  • C. It follows FIFO principle
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

B. It can grow dynamically

Detailed Explanation

Correct Answer: B. It can grow dynamically

Explanation: A linked-list-based stack can grow dynamically as new nodes are allocated in memory.

  • It does not require a fixed array size.
  • Push and pop can be performed at the head of the linked list in O(1) time.
  • It follows LIFO, not FIFO.