The main advantage of the array over the linked list is the random access of values. In arrays, you can find any element you want instantly using its index value which is not possible in the linked list. In the linked list every time you want to access a value you have to start from the first element(head node) and keep on search on a sequential pattern until you get the value. So the linked list is not suitable data structure where accessing values are quite frequent.
Get Answers For Free
Most questions answered within 1 hours.