What is real life example of linked list

panic mode

Joined Oct 10, 2011
5,116
LIST is just a way of organizing and storing information. if you have problem with it, don't use it... stick with what works for you.
 

Thread Starter

Parth786

Joined Jun 19, 2017
642
LIST is just a way of organizing and storing information. if you have problem with it, don't use it... stick with what works for you.
I would leave it but I thought why shouldn't try for last attempt. May be someone can explain my problem. That's why I asked for problem statement. Really it is very difficult to find out real example. Real example means related to embedded system. I thought the example that you gave with embedded system's example. but my brain is not able to understand it. faulty brain
 

panic mode

Joined Oct 10, 2011
5,116
if you are going to travel and pack your suitcase, you will arrange items certain way. nobody can tell you how you should do this but that does not mean that your way is the most efficient or flexible.

storing information is similar... you have limited space (memory=suitcase) and you need to place information (items) in a way that you can easily follow (insert or retrieve wanted item without disturbing everything).


microcontrollers have notoriously limited memory but using systematic way to store information works well even on systems with far more resources.

really this is a very simple concept... not sure how to break it down any more...
 

Alec_t

Joined Sep 17, 2013
15,132
Some microcontrollers have paged memory. If a data structure overlaps two or more pages the programmer will need to keep track of where the end of one part of the structure ends and where the next part of the structure begins. A linked list can help.
 
Top