Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/27/09 16:13
Modified:
  12/27/09 16:15

Read: times


 
#171951 - This is done in programming class
Responding to: ???'s previous message
... and generally would be used with an array, the pointers to which are rearranged as the list content changes, rather than moving the entire data set around. It's true that it often leads to much "thrashing" of data, but, as Per has pointed out, it depends much on what the desired outcome would be. Needless to say, without all the relevant information, it's hard to recommend an alternative.

Dynamic memory allocation isn't essential to linked-list structures, but that's where one ordinarily learns about the two when engaged in learning a high level language.

If you have a dataset consisting of a relatively small number of lengthy records, and it's your desire to make access to those records quick and easy, especially as compared with rearranging the entire array each time an element is inserted, deleted, or modified, then the linked list may, indeed, be the structure of choice, particularly since a tree can be implemented as a linked list.

RE


List of 21 messages in thread
TopicAuthorDate
Linked List in 80C51            01/01/70 00:00      
   What problem are you trying to solve?            01/01/70 00:00      
   possible? it's standard C            01/01/70 00:00      
   possible? it's standard C            01/01/70 00:00      
      Maybe not so bad            01/01/70 00:00      
         Hybrid?            01/01/70 00:00      
            It works            01/01/70 00:00      
               No pointers?            01/01/70 00:00      
                  Yes the Index            01/01/70 00:00      
                     Pointer vs Index?            01/01/70 00:00      
                        Anyone sorting?            01/01/70 00:00      
                           Not only time is a problem            01/01/70 00:00      
                              Knuth?            01/01/70 00:00      
                                 Who is Tenebaum?            01/01/70 00:00      
                                    How to cite references            01/01/70 00:00      
                                       Yes, references are important            01/01/70 00:00      
                                    Data Structures Using C            01/01/70 00:00      
   Dynamic memory allocation            01/01/70 00:00      
      This is done in programming class            01/01/70 00:00      
      since the name has many meanings ...            01/01/70 00:00      
         Probably more general than that...            01/01/70 00:00      

Back to Subject List