Question DSA-STK-0026
EasyWhich data structure is used to check whether the brackets in an expression are balanced?
- A.
A stack
- B.
A hash table
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Stacks question
Which data structure is used to check whether the brackets in an expression are balanced?
A stack
A hash table
Sign up free to see the answer and a step-by-step explanation.
A queue
A heap