From charlesreid1

Queue ADT (abstract data type):

  • an instance Q of a queue data type supports the following two methods:
  • Q.enqueue(e)
  • Q.dequeue()
  • Additional convenience methods:
  • Q.peek()
  • Q.is_empty()
  • len(Q)

Flags