@Saurabh You used an extra pointer compared to shiva's code ,you can avoid that. :)
On Mon, Dec 20, 2010 at 8:24 PM, Saurabh Koar <[email protected]>wrote: > @Rishi:I think Shiva's code is also fine.U can access the list easily > by using down pointer in his code. > Because he is assigning temp->down=temp2 and then he is making > temp->fwd=NULL. > > -- > 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]<algogeeks%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- Thanks & Regards Nikhil Agarwal Senior Undergraduate Computer Science & Engineering, National Institute Of Technology, Durgapur,India http://tech-nikk.blogspot.com http://beta.freshersworld.com/communities/nitd -- 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.
