1.

In balancing parentheses algorithm, the string is read from?(a) right to left(b) left to right(c) center to right(d) center to leftThis interesting question is from Application of Stacks in section Application of Stacks of Data Structures & Algorithms II got this question by my school teacher while I was bunking the class.

Answer»

Correct option is (B) left to right

The best EXPLANATION: Any STRING is read by the compiler from left to right and not from right to left.



Discussion

No Comment Found

Related InterviewSolutions