Detecting broken links in double linked list

In C Tidbits, Data Structures in C/C++ on March 30, 2007 at 4:12 pm

Here is a routine which does find out broken links in double linked list, wondering what is a broken link…


here is the code snippet for detecting broken links in double linked list…

for complete operations (all operations) on double linked list, visit earlier post

please refer http://www.refcode.net/2013/02/detecting-broken-links-in-double-linked.html
  1. […] read more | digg story Written by ponnada – Visit Website Bookmark to: (is this useful? Please rate this post)  Loading … This post was read:1 times […]

  2. good one, I don’t think it returns correct number of broken links, after finding a broken link, alog is not dealing moving of pointer safely, however with algo we should be able to find atmost 2 broken links correctly

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: