2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue