With respect to linked lists and arrays, which of the following statements is…
NVS Computer Science / IT Teacher Recruitment · 2019 · PGT Computer Science · Computer Science or Information Technology
With respect to linked lists and arrays, which of the following statements is INCORRECT?
- A.
Linked list is slower in add and remove, but faster in get.
- B.
Array allocates memory at the time of declaring the array, while linked list allocates memory at the time of adding elements to the linked list.
- C.
Elements can be added to linked lists indefinitely, while an array will eventually get filled or will have to be resized.
- D.
Arrays allow random access to the elements contained within them, a linked list only allows sequential access to its elements.
Attempted by 58 students.
Sign up free to check your answer
Sign up freeLoading lesson…