Mind map
Linked List
Map content
Linked List
Why use linked list over arrays?
- All the nodes of linked list are non-contiguously stored in the memory and linked together with the help of pointers.
- Sizing is no longer a problem since we do not need to define its size at the time of declaration.
- It allocates the memory dynamically.
Uses of linked list
- We can store values of primitive types or objects in the singly linked list.
- Linked Lists are very useful in dynamic memory allocation
- list size is limited to the memory size
What is linked list?
- Linked List can be defined as collection of objects called nodes that are randomly stored in the memory.
- A node contains two fields i.e. data and the pointer which contains the address of the next node in the memory.
- The last node of the list contains pointer to the null.
Types of Linked list
- Singly Linked list
- Doubly Linked list
- Circular Liked List
Information
- Description
- Mind Map on Linked List, created by Tanvi g on 10/11/2021.
- Created by
- Tanvi g
- Views
- 0
- Rating