Difference between linked list and array
Question
What are some differences between a linked list and an array?
in progress
0
Machine Learning
4 years
1 Answer
557 views
Contributor 0
Answer ( 1 )
Array is data structure having that is used to store homogeneous elements in contiguous memory location. The size of array is fixed and cannot be changed
Linked list is a data structure which is used to store homogeneous data when the size is unknown. It is because linked list can increase its size due to dynamic memory location.