The data structure required to check whether an expression contains balanced parenthesis is
Answers
Answered by
5
The answer is stack.
The data structure required to check whether an expression contains balanced parenthesis is a stack. This is a simple data structure in which elements can be added and removed in a specific order. In other words, it follows a LIFO or a FILO structure. There are three primary stack operations as given below:
*Push – Inserting items into a stack.
*Pop – Removing items from a stack.
*Pip – Displaying the contents of a stack.
Answered by
8
Hello mate
here's your answer
___________________
The data structure required to check whether an expression contains balanced parenthesis is stack.
_______________
Thanks
here's your answer
___________________
The data structure required to check whether an expression contains balanced parenthesis is stack.
_______________
Thanks
Similar questions
Social Sciences,
7 months ago
Science,
7 months ago
Math,
7 months ago
Business Studies,
1 year ago
Math,
1 year ago