What are the advantages and disadvantages of linked list of an Array?
What are the advantages and disadvantages of linked list of an Array?
Share
Advantages of Lined list
1. Stack and queues can be easily implemented using linked list
2. As size of linked list can increase or decrease at run time so there is no memory wastage.
Disadvantages of Lined list :
1. Random access to element is not possible, but in array you can access any element by its index.
2. Extra memory space is required for the pointer with each element in the linked list.