engineering computer science MCQ #1265

What is the main advantage of using a linked list over an array?

engineering computer science MCQ #1265

  1. Question 1

    Q1. What is the main advantage of using a linked list over an array?

    • A) Faster access time
    • B) Dynamic memory allocation
    • C) Less memory usage
    • D) Simplified data structure

    Answer: Dynamic memory allocation

    Explanation: Linked lists allow for efficient insertion and deletion of nodes without shifting elements, making them suitable for dynamic data.