This repo will contain Algortihms and Data Structures Will update this regularly
Name | About | Example |
---|---|---|
Singly Link List | can only move forward | A train connected with its compartments( nodes ) and if you move through one compartment the previous compartment door closes |
Doubly Link List | can move both forward and backward | A train connected with its compartments( nodes ) and if you move through one compartment the previous compartment door stays open |
Circular Link List | like a linked list but the head and tail are connected | All the Players are kept in a Circular Linked List and the pointer keeps on moving forward as a player's chance ends. Circular Linked List can also be used to create Circular Queue |
Queue | works on the phenomenon of FIFO( First In First Out ) | Waiting in a super-mart checkout |