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 2859 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…