Multiple choice

Stack is useful for implementing

  1. radix sort

  2. breadth first search

  3. recursion

  4. none of these

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

A stack operates on a Last In, First Out (LIFO) basis, which is the exact mechanism used to manage function calls, activation records, and return addresses in recursion.