reading-notes

Code Fellows courses Notes

This project is maintained by QamarAlkhatib

Stacks and Queues

Stacks

WHAT

stacks is a linear data structure that follows a particular order in which the operations are performed. the order may be LIFO or FILO.

its consists of Nodes, and each node references the next Node in the stack but does not reference the previous Node.

HOW


Queues

WHAT

A Queue is a linear structure which follows a particular order in which the operations are performed. The order is (FIFO) and (LILO).

First In First Out means that the first item in the queue will be the first item to go out of the queue.

List In Last out means that the last item in the queue will be the last item to go out of the queue.

HOW