http://www.linuxjournal.com/article/6828
On Thu, Aug 25, 2011 at 2:51 AM, Ankur Garg <[email protected]> wrote: > http://en.wikipedia.org/wiki/XOR_linked_list > > Check this...will be handy > > > On Thu, Aug 25, 2011 at 2:12 AM, Mohit kumar lal > <[email protected]>wrote: > >> it might cause STACK OVERFLOW for larger size of lists. >> >> >> On Thu, Aug 25, 2011 at 2:04 AM, Abhishek >> <[email protected]>wrote: >> >>> in brief, >>> in the next pointer put the XOR value of previous and next block address. >>> when you want to access the previous node just do the XOR operation with >>> next block address >>> and for next node do the XOR operation with previous block address. >>> it will require an extra variable to maintain either previous node >>> address or next node address. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Algorithm Geeks" group. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msg/algogeeks/-/c9ibogMmpkMJ. >>> >>> 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. >>> >> >> >> >> -- >> Mohit kumar lal >> rit2009014 >> IIIT ALLAHABAD >> contact@9454681805 >> [email protected] >> [email protected] >> [email protected] >> http://profile.iiita.ac.in/rit2009014 >> >> -- >> 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.
