Difference between revisions of "Queues"
(→Types of Queue) |
|||
Line 1: | Line 1: | ||
A queue is a linear list with a first-in first-out structure.There are three different types of queue circular queues, linear queues and priority queues. | A queue is a linear list with a first-in first-out structure.There are three different types of queue circular queues, linear queues and priority queues. | ||
==Types of Queue== | ==Types of Queue== | ||
+ | ===Linear=== | ||
===Priority=== | ===Priority=== | ||
===Circular=== | ===Circular=== | ||
+ | |||
==Add to Queue== | ==Add to Queue== | ||
==Take from Queue== | ==Take from Queue== | ||
==Test for empty== | ==Test for empty== | ||
==Test for full== | ==Test for full== |
Revision as of 08:52, 16 May 2017
A queue is a linear list with a first-in first-out structure.There are three different types of queue circular queues, linear queues and priority queues.