Data structure is a method of organizing large amount of data more efficiently so that any operation on that data becomes easy.
Data structures are divided into two types:
Ex: Arrays, Linked list, Stacks and Queues
Non Linear Data Structure: In Non Linear data structure, data is organised in random order.
Ex: Tree, Graphs
Data structures are divided into two types:
- Linear Data Structures
- Non linear Data structures
Ex: Arrays, Linked list, Stacks and Queues
Non Linear Data Structure: In Non Linear data structure, data is organised in random order.
Ex: Tree, Graphs