2016 Update

This commit is contained in:
Tina Müller 2016-12-05 22:15:40 +01:00
parent 948b86eafa
commit dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions

View file

@ -1,10 +1,17 @@
{{Data structure}}
[[File:Fifo.gif|frame|right|Illustration of FIFO behavior]]
Create a queue data structure and demonstrate its operations. (For implementations of queues, see the [[FIFO]] task.)
;Task:
Create a queue data structure and demonstrate its operations.
(For implementations of queues, see the [[FIFO]] task.)
Operations:
* push (aka ''enqueue'') - add element
* pop (aka ''dequeue'') - pop first element
* empty - return truth value when empty
::*   push       (aka ''enqueue'') - add element
::*   pop         (aka ''dequeue'') - pop first element
::*   empty     - return truth value when empty
<br>
{{Template:See also lists}}
<br><br>