Pergunta de entrevista da empresa HCLTech

What is the difference between an array and a linked list

Resposta da entrevista

Sigiloso

17 de jun. de 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.