applications of linked lists and mostly used linked list?

Answers were Sorted based on User's Feedback



applications of linked lists and mostly used linked list?..

Answer / pooja singh

to implement other data structure such as
stack,queues,trees,graphetc
to maintain directory of name.
perform arithmetic operation on long integers.
to manipulate polynomials.
to represent sparse matrices
most used link list are:-
1 linear l_l.
2 doubly L_L.
3 circular L_L.

Is This Answer Correct ?    10 Yes 1 No

applications of linked lists and mostly used linked list?..

Answer / sreejith menon

Used mainly to represent elements in a dynamic environment where it is added on an ad-hoc basis.
Especially in the cases where the total number of elements in the list cannot be pre-decided, linked lists are used. This does not lead to space insufficiency or space wastage as in case of arrays.
For eg. The no. of terms in a order-n polynomial varies greatly, using an array to store the co-efficients is an inefficient methods. If the array size is declared 100, a quadratic equation will use just 3 index and the rest 99 will be wasted. While for a sine or cosine series (from x to infinity) an overflow error might occur..!

Is This Answer Correct ?    4 Yes 1 No

applications of linked lists and mostly used linked list?..

Answer / ash

used in gamming application and file system in operation system.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What is harvesting in agriculture?

0 Answers  


What is list and its types?

0 Answers  


Why is null not allowed in concurrenthashmap?

0 Answers  


What do you mean by breadth first search (bfs)?

0 Answers  


What is the bucket size, when the overlapping and collision occur at the same time?

1 Answers  






Can we add duplicate keys in a hashmap?

0 Answers  


Explain linked list in short.

0 Answers  


Define linear probing?

0 Answers  


What is nonlinear data?

0 Answers  


Can we add duplicate keys in a hashmap? What will happen if we attempt to add duplicate values?

0 Answers  


What is difference between hashmap and hashset?

0 Answers  


Tell me why can't constant values be used to define an array's initial size

0 Answers  


Categories