Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

applications of linked lists and mostly used linked list?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a list of lists?

896


Explain the Complete structure of hashmap along with the basic coding of the hashmap internal implementation.

1057


Can we increase the size of statically allocated array?

855


Can treeset contain null?

847


What is data structure geeksforgeeks?

1227


Define separate chaining?

907


List the abstract operations in the set?

858


Describe the level term in a tree.

885


What is a data structure? What are the types of data structures? Briefly explain them

925


Define distributed query and linked server?

905


What is difference between treeset hashset linkedhashset?

870


Is list an array?

800


Define an algorithm. What are the properties of an algorithm? What are the types of algorithms?

881


What is the difference between an array and vector?

983


What is the difference between array and list?

871