Implementation of Array Using Linked List Pretest


Answer the multiple-choice questions below to test your knowledge!


Multiple-Choice Questions:

  1. What is the primary advantage of using a linked list over an array?





  2. Which of the following is a key characteristic of a linked list?





  3. What is the time complexity of inserting an element at the beginning of a linked list?





  4. How is memory allocated for elements in a linked list?





  5. What happens when you try to access an element in a linked list by index?