1.

Which of the following does the balancing symbols algorithm include?(a) balancing double quotes(b) balancing single quotes(c) balancing operators and brackets(d) balancing parentheses, brackets and bracesThe doubt is from Application of Stacks in portion Application of Stacks of Data Structures & Algorithms IThis question was addressed to me in class test.

Answer» RIGHT choice is (d) balancing parentheses, BRACKETS and BRACES

Easiest explanation - The balancing symbols ALGORITHM using STACK only includes balancing parentheses, brackets and braces and not any other symbols.


Discussion

No Comment Found

Related InterviewSolutions