How are lists implemented in memory?
Answers
Answered by
0
Well, to begin with Arrays are of a fixed size meaning memory must be allocated for the specified size upon initialisation. However, Linked Lists allocate memory at runtime for the amount that is required (due to it being a dynamic data structure).
Similar questions
Math,
6 months ago
Biology,
6 months ago
Social Sciences,
6 months ago
History,
1 year ago
Biology,
1 year ago