Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Implement a queue structure

Create a Python class that implements the methods of a queue structure.

Challenge

Implement the following methods.

  • enqueue add an item to the queue
  • dequeue remove and return the least recent item from the queue

Solution

Whiteboard Images