Skip to content

Latest commit

 

History

History

02-02 Implement a Queue

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Implement a Queue

Problem

Implement a Queue class. The class should be able to do the following:

  • Check if Queue is Empty
  • Enqueue
  • Dequeue
  • Return the size of the Queue

Code

Create your solution in the form:

class Queue(object):
    pass