Question d’entretien chez Wipro

What is the difference between array and linked list?

Réponse à la question d'entretien

Utilisateur anonyme

19 févr. 2022

An array is a collection of elements of similar data type & a linked list is a collection of objects known as a node where node consists of two parts( data node & address node ). The key difference is that array elements stores in a contiguous memory location whereas linked list elements can be stored anywhere in the memory or randomly stored.