A list can be stored in a one-dimensional array and in a linked list as well. The choice of data structure
depends upon the problem at hand and the type of operations to be performed on the data. A summa-
rized comparison of sequential and linked storage is given below:
n Unlike arrays, the linked list is a dynamic data structure. e linked list implementation adds
the elements to the list by getting the memory allocated dynamically. erefore, the number
of elements present in the linked list is limited only by the memory available to the operating
system. We can ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.