Technical Discussion :: Data Structure
Home > Technical Interview Q&A > Data Structure > Discussion
2 / 72
What array, linked list? What are major difference ?
Answer:
Array is an indexed based sequential datasture which is stored contigous memory locations . It is mainly used when the operation is searching of element from the list.
Link list is a sequential datastructure which consists of nodes located at non contigous memory locations. It is used when the operation is insertion and deletion.
Asked In ::
Vipin Singh
13 Oct, 2019 1:07 PM
Array is an indexed based sequential datasture which is stored contigous memory locations . It is mainly used when the operation is searching of element from the list.
Link list is a sequential datastructure which consists of nodes located at non contigous memory locations. It is used when the operation is insertion and deletion.