To operate the Blended Learning Center(BLC) at optimal level, maintenance will be performed every day at 8:30 AM and at 5:00 PM regularly which can take up to 30 minutes. Please consider scheduling your activity in the BLC platform accordingly.
Forum discussion on Queue and Expression conversion
Answer
Answer to the Question No. 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 to the Question No. 02
When a queue is empty, the front and rear are the same value or item.