+1 vote
in Data Structures & Algorithms I by (110k points)
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 braces

The doubt is from Application of Stacks in portion Application of Stacks of Data Structures & Algorithms I

This question was addressed to me in class test.

1 Answer

+1 vote
by (444k points)
selected by
 
Best 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.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...