Question d’entretien chez SAP

What is the difference between an array, vector, and list

Réponse à la question d'entretien

Utilisateur anonyme

29 mars 2021

An array has a fixed size, whereas vectors and lists don't. Arrays and vectors follow a contiguous memory model, lists are non-contiguous, therefore random access is only possible in arrays and vectors.