+1 vote
in Data Structures & Algorithms I by (110k points)
Which is the most appropriate data structure for applying balancing of symbols algorithm?

(a) stack

(b) queue

(c) tree

(d) graph

I want to ask this question from Application of Stacks topic in portion Application of Stacks of Data Structures & Algorithms I

I had been asked this question in homework.

1 Answer

+1 vote
by (408k points)
selected by
 
Best answer
The correct answer is (a) stack

Best explanation: Stack is the most appropriate data structure for balancing symbols algorithm because stack follows LIFO principle (Last In First Out).

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

...