applications of linked lists and mostly used linked list?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / ash
used in gamming application and file system in operation system.
| Is This Answer Correct ? | 3 Yes | 0 No |
How many different binary trees and binary search trees can be made from three nodes that contain the key values 1, 2 & 3?
28 Answers Accenture, Amazon, College School Exams Tests, iGate, Microsoft, TCS, Wipro,
Is pointer a variable?
How does variable declaration affect memory allocation?
What is range search?
What is data structure explain different types of data structures with examples?
State the rules to be followed during infix to prefix conversions?
What are trees in data structures?
Program to remove duplicate elements in an array.
Write the recursive c function to count the number of nodes present in a binary tree.
What is unbounded queue?
What is the similarity between a Structure, Union and enumeration?
Is hashmap a data structure?