List a few applications of Stacks and Queues?
Answers
Answered by
3
Stack application
1. Stack can be used to reverse a sequence.
2. Recursion of expression.
3. decimal to binary conversion
queue application
1. queue can be used to traversing all nodes of the graph and tree.
2. it used in different artificial intelligent programs.
1. Stack can be used to reverse a sequence.
2. Recursion of expression.
3. decimal to binary conversion
queue application
1. queue can be used to traversing all nodes of the graph and tree.
2. it used in different artificial intelligent programs.
Similar questions