From charlesreid1

(Created page with "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.pee...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Main|StacksQueues}}
Queue ADT (abstract data type):
Queue ADT (abstract data type):
* an instance Q of a queue data type supports the following two methods:
* an instance Q of a queue data type supports the following two methods:
Line 7: Line 9:
* Q.is_empty()
* Q.is_empty()
* len(Q)
* len(Q)
=Flags=
{{StacksQueuesFlag}}
[[Category:Queues]]

Latest revision as of 09:11, 5 September 2017

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