Domanda di colloquio di HCLTech

What is the difference between an array and a linked list

Risposta di colloquio

Anonimo

17 giu 2026

An array stores data in continuous memory and is fast to access. A linked list stores data in nodes and is easier to grow but slower to access.