The data structure required to check whether an expression contains balanced parentheses is?

The data structure required to check whether an expression contains balanced parentheses is?

  1. a) Stack
  2. b) Queue
  3. c) Tree
  4. d) Array

From the Combined Bank Officer (IT) January 2026 – Written (BIBM) exam, question 32 of 115.

More from this paper