Difference between List and Array in Data Structure


List is a linked data structure used in programming techniques. The linked data structure will have a number of components linked in a particular fashion. Each component will consist of a string of data and a pointer to the next component. The basic idea of a linked list of data structures is that each component within the structure includes a pointer indicating where the next component can be found. Therefore, the relative order of the components can be changed by altering the pointers.


An array is a series of data of the same type stored in successive memory locations. Each value in the array is referred to as an element of the array. In programming techniques, an array is created when we want to perform some operation on a series of data items.

Difference between List and Array: