The best data structure to check whether an arithmetic expression has balanced…

The best data structure to check whether an arithmetic expression has balanced parenthesis is a

  1. A.

    Queue

  2. B.

    Stack

  3. C.

    Tree

  4. D.

    List

Attempted by 2665 students.

Show answer

Correct answer: B

The worked solution is available to enrolled students.

Video solution available to enrolled students.

Explore the full course: Iocl Engineers Officers Grade A Paper 2

Loading lesson…