engineering computer science MCQ #1248

What is the primary advantage of using a linked list?

engineering computer science MCQ #1248

  1. Question 1

    Q1. What is the primary advantage of using a linked list?

    • A) Efficient indexing
    • B) Dynamic memory allocation
    • C) Fast search times
    • D) Cache-friendly access

    Answer: Dynamic memory allocation

    Explanation: Linked lists allow for dynamic memory allocation, as elements can be added or removed without requiring a fixed amount of contiguous memory.