What is the advantage of using a linked list over an array?
Q1. What is the advantage of using a linked list over an array?
Answer: Dynamic size and efficient insertion/deletion
Explanation: Linked lists offer dynamic size and efficient insertion/deletion of elements without shifting all elements, unlike arrays.