Stacks and Queues


Stack:
1. Evaluate postfix expression using stack.
2. Sort values in stack.
3. Check Balanced parentheses in an expression.


Queue:
1. Implement stack using a Queue.
2. Reverse first k elements of a Queue.
3. Generate binary numbers from 1 to n using Queue. 

No comments:

Post a Comment