🧵CONCEPTS OF DATA STRUCTURES🧵
This small thread will help you understand all the concepts of data structures👇
Retweet if you found it is helpful 🙏
#100DaysOfCode #CodeNewbie #datastructures
ARRAY:
An array is a collection of variables of the same type.
LINKED LIST:
In a linked list the elements are not stored at contiguous memory locations.
The elements in a linked list are linked using a pointer as shown in image👇
STACK:
Stack follows a particular order called LIFO(LAST IN FIRST OUT) in which the operations are performed.
TREE:
A tree is a non-linear hierarchical data structure that consists of nodes connected by an edge.
QUEUE:
Queue follows a particular order called FIFO(FIRST IN FIRST OUT) in which the operations are performed.
GRAPH:
A graph data structure is a collection of nodes that have data and are connected to other nodes.
HASH TABLE:
Hash table represents data in the form of key-value in the hash table, the keys are used for indexing the data/values.
Share this Scrolly Tale with your friends.
A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.