Question DSA-LL-0049
MediumWhat is a disadvantage of linked lists compared with arrays?
- A.
They can't store integers
- B.
No O(1) random access by index, and poorer cache locality
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Linked Lists question
What is a disadvantage of linked lists compared with arrays?
They can't store integers
No O(1) random access by index, and poorer cache locality
Sign up free to see the answer and a step-by-step explanation.
They have a fixed size
Insertion at the head is slow