FREE C PROGRAMSData Structures and C Programming |
DATA STRUCTURES USING C |
|
Pg : 1 , 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 STACKS & QUEUESStacks
Stores a set of elements in a particular order
QueuesQueue is a data structure that maintain "First In First Out" (FIFO) order. And can be viewed as people queuing up to buy a ticket. In programming, queue is usually used as a data structure for BFS (Breadth First Search) Operations on queue Q are : 1. enqueue - insert item at the back of queue Q 2. dequeue - return (and virtually remove) the front item from queue Q
3. init - intialize queue Q, reset all variables www.freecprograms.com/fcSQUEUE.html --------------------------------------------------------------------------------------- |
|