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