Discuss the advantage of linked list over array
In : BSc IT Subject : Data StructuresA user memory array is a collection of memory locations (RAM).
the advantage of a linked list over an array:
The dynamic memory allocation creates a linked list. The array, on the other hand, is constructed by a static memory allocation.
As a result, in a linked list, memory space is efficiently utilized, whereas in an array, unneeded memory space is squandered.
A node can be inserted or deleted at any place in a linked list.
Array insertion, on the other hand, allows for seven removals at the end of an array.