the problem here is what if more than 1 pointers are corrupt?
Best Regards Ashish Goel "Think positive and find fuel in failure" +919985813081 +919966006652 On Thu, Jun 2, 2011 at 6:35 PM, Logic King <[email protected]>wrote: > I Think circular DLL should do...skip list is not required !! > > > On Thu, Jun 2, 2011 at 5:31 AM, Ashish Goel <[email protected]> wrote: > >> wouldn't it be skip list or a circular DLL >> >> what if we have next as well as next->next pointers in every node. If the >> LL is say a->b>c>d >> if a->b is corrupted, a->c can be used to reach rest of the LL >> if say b->c is corrupt, >> a->c can be used to recover complete list... >> >> >> is this better or skip list? >> >> >> Best Regards >> Ashish Goel >> "Think positive and find fuel in failure" >> +919985813081 >> +919966006652 >> >> >> On Thu, Jun 2, 2011 at 9:39 AM, Kunal Patil <[email protected]> wrote: >> >>> @Gaurav: You might want to say circular doubly linked list, didn't you ? >>> coz without that, its not possible to reach last node if we are at first >>> node or vice-versa. >>> >>> >>> On Thu, Jun 2, 2011 at 9:31 AM, Gaurav Aggarwal <[email protected]>wrote: >>> >>>> other solution might be to use doubly linked list, even if one pointer >>>> gets corrupt, there is other path to reach the destination. >>>> >>>> >>>> On Wed, Jun 1, 2011 at 1:24 PM, Ashish Goel <[email protected]> wrote: >>>> >>>>> given a single linked list, there is a possibility of pointer >>>>> corruption, modify the data structure to ensure that the data is not lost. >>>>> >>>>> in my view a skip list is a good option, any other solutions? >>>>> >>>>> Best Regards >>>>> Ashish Goel >>>>> "Think positive and find fuel in failure" >>>>> +919985813081 >>>>> +919966006652 >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Algorithm Geeks" group. >>>>> To post to this group, send email to [email protected]. >>>>> To unsubscribe from this group, send email to >>>>> [email protected]. >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/algogeeks?hl=en. >>>>> >>>> >>>> >>>> >>>> -- >>>> Gaurav Aggarwal >>>> SCJP >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Algorithm Geeks" group. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]. >>>> For more options, visit this group at >>>> http://groups.google.com/group/algogeeks?hl=en. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Algorithm Geeks" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/algogeeks?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
