few Qs. on circulad doubly linked list


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 13 of 13

Thread: few Qs. on circulad doubly linked list

Threaded View

  1. #1
    Join Date
    Oct 2005
    Posts
    12

    few Qs. on circular doubly linked list

    Hello ..

    I've got some Qs.

    assume that we have this Doubly linked list



    what will happened if we apply the following ?

    1- list->next->next->next=list->prev


    and then we apply to the new list

    2- list->prev->prev->prev=list->next->next->next->prev

    and then ..

    3- list->next->next->next->prev=list->prev->prev->prev

    and then..

    4- list->next=list->next->next

    and finally ..

    5- list->next->prev->next=list->next->next->next



    thank you
    Last edited by Qatar; 10-17-2005 at 01:43 PM.

Similar Threads

  1. Linked list problem
    By Bhavna in forum C++
    Replies: 2
    Last Post: 03-31-2005, 05:17 PM
  2. Problem with linked lists and iterators
    By white94cam in forum C++
    Replies: 2
    Last Post: 03-30-2005, 11:02 PM
  3. EMERGENT.... double linked list
    By mary in forum Java
    Replies: 0
    Last Post: 07-20-2001, 08:42 AM
  4. ListBot Going Out of Business
    By Larry Rebich in forum vb.announcements
    Replies: 1
    Last Post: 06-28-2001, 01:22 PM
  5. Tree, Linked list and data structures
    By Hemant in forum VB Classic
    Replies: 0
    Last Post: 10-11-2000, 03:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center