Home »
MCQs »
Data Structure and Algorithms (DSA) MCQs
Stack can be used for?
11. Stack can be used for?
- Parsing expression
- Recursion
- Function Calls Implementation
- All of the above
Answer
The correct answer is: D) All of the above
Explanation
Stack is an important data structure in computer science and it is used in multiple areas including
- Parsing regular expressions
- Memory management
- Recursive function calls
- Function calls management
- String reversal
- And many more