Pergunta de entrevista da empresa HyTech Professionals

What is different between linked list and array?

Resposta da entrevista

Sigiloso

26 de set. de 2022

An array is a collection of elements of a similar data type. A linked list is a collection of objects known as a node where node consists of two parts, i.e., data and address. Array elements store in a contiguous memory location. Linked list elements can be stored anywhere in the memory or randomly stored