Frage im Vorstellungsgespräch bei HyTech Professionals

What is different between linked list and array?

Antwort im Vorstellungsgespräch

Anonym

26. Sept. 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