1.

How many passes does the balancing symbols algorithm makes through the input?(a) one(b) two(c) three(d) fourMy doubt stems from Application of Stacks topic in chapter Application of Stacks of Data Structures & Algorithms IThe question was asked in an interview for job.

Answer»

Correct choice is (a) one

To explain: The BALANCING symbols algorithm makes only one PASS through the input since it is linear.



Discussion

No Comment Found

Related InterviewSolutions