Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


Which of the following data structures can be used for parentheses matching?
Question Posted on 14 Feb 2024

Home >> Programming Languages >> Data Structure MCQ >> Which of the following data structures can be used for parentheses matching?




Which of the following data structures can be used for parentheses matching?
Choose the correct option from below list
(1)n-ary tree
(2)queue
(3)priority queue
(4)stack

Answer:-(4)stack
Note:-For every opening brace, push it into the stack, and for every closing brace, pop it off the stack.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Which of the following data structure can provide efficient searching of the elements?
What do you mean by a data structure?
What are the disadvantages of arrays?
Which data structure is used for implementing recursion?
The data structure required to check whether an expression contains a balanced parenthesis is?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |