What is difference between list and linked list?



What is difference between list and linked list?..

Answer / Prabhanjan Kumar

A list is an ordered collection of elements that can be accessed by their position in the sequence. It is often implemented as a contiguous block of memory with each element directly accessible via its index. In contrast, a linked list is a linear collection of data elements, called nodes, connected by links or pointers. Each node contains two parts: data and link or pointer to the next node.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Explain the term base case?

1 Answers  


Who invented data structure?

1 Answers  


Which language is best for data structures and algorithms?

1 Answers  


Does linkedhashset allow null values?

1 Answers  


What are hash tables good for?

1 Answers  


What are the advantages of binary search over linear search?

1 Answers  


Program to remove duplicate elements in an array.

1 Answers   InterGraph,


How do you find the space complexity of a bubble sort?

1 Answers  


What is sorting in math?

1 Answers  


What is difference between linear and non linear data structure?

1 Answers  


What is the need for path compression?

1 Answers  


Which interfaces are implemented by enumset?

1 Answers  


Categories