a) balancing double quotes
b) balancing single quotes
c) balancing operators and brackets
d) balancing parentheses, brackets and braces
Answer: d
Explanation: The balancing symbols algorithm using stack only includes balancing parentheses, brackets and braces and not any other symbols.
Related Posts
Which of the following statement is incorrect with respect to balancing symbols algorithm?
Which is the most appropriate data structure for applying balancing of symbols algorithm?
In balancing parentheses algorithm, the string is read from?
Which application of stack is used to ensure that the pair of parentheses is properly nested?
What is the time complexity of balancing parentheses algorithm?
What is the number of moves required to solve Tower of Hanoi problem for k disks?
Which data structure can be used to test a palindrome?
Join The Discussion