Question: 1. What are enqueue and dequeue operations? 2. Distinguish between stack and queue. 3a. Convert the infix (a+b)*(c+d)/f into postfix & prefix Expression. b. Write
1. What are enqueue and dequeue operations?
2. Distinguish between stack and queue.
3a. Convert the infix (a+b)*(c+d)/f into postfix & prefix Expression.
b. Write postfix from of the expression –A+B-C+D?
4. Define priority queue with diagram and explain the operations.
5. Explain how to evaluate arithmetic expressions using stack.
Step by Step Solution
There are 3 Steps involved in it
The detailed answer for the above question is provided below 1 Enqueue is a queue operation where you add an item at the back of a queue at the rear e... View full answer
Get step-by-step solutions from verified subject matter experts
