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 |
Explain the term base case?
Who invented data structure?
Which language is best for data structures and algorithms?
Does linkedhashset allow null values?
What are hash tables good for?
What are the advantages of binary search over linear search?
Program to remove duplicate elements in an array.
How do you find the space complexity of a bubble sort?
What is sorting in math?
What is difference between linear and non linear data structure?
What is the need for path compression?
Which interfaces are implemented by enumset?