Forum discussion on Queue and Expression conversion

Click here and discuss

Re: Click here and discuss

by Ahmed Ishtiak Nihal -
Number of replies: 0
Answer for question- 01

The operations of queue are:

Enqueue - This function defines the operation for adding an element into queue.
Dequeue - This function defines the operation for removing an element from queue.
Initialize - create an empty queue
Front - Front is used to get the front data item from a queue.
Rear - Rear is used to get the last item from a queue.
Answer for question- 02

When a queue is empty, It's front and rear are the same value or item.