i mean: is it possible to get prev[x] with only x given and not knowing head? if not, then why should a double linked list be implemented?we do things exactly the same as with single linked list, i.e. using head and x to get prev[x].
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups-beta.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---