Data Structure: Queues Using List – Notes
Queue is an ordered linear data structure, following FIFO strategy. Front and Rear are used to indicate beginning and end of queue. In Python, the use of predefined methods takes care of Front and Rear. Insertion in a queue happens at the rear end. Deletion happens at the front. Insertion operation is known as enqueue […]