Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 220
  • Last Modified:

douably linked list with thread

my list is sorted alphabetically and then the thread is supposed to go from decr number to incr.

My question is where in the add should i do the thread?  Any suggestions how?  Also where and how in delerte?
0
superdesio
Asked:
superdesio
  • 2
1 Solution
 
superdesioAuthor Commented:
the list has a name then a id number.  The primary ordering is the name then the id number goin from least to most.
0
 
KangaRooCommented:
I do not understand what you mean with 'thread' in this context.

Do you need to know about inserting and deleting from a sorted list?
0
 
superdesioAuthor Commented:
i have a doublely linked list that is sorted by name.  then i have  a third pointer in node that will order the  list by number
0
 
sirwnstnCommented:
Your question is a bit cryptic.  If you are asking about adding and deleting elements while keeping the integrity of the thread, I suggest keeping a pointer to the front and end of the thread.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now