top button
Print Preview

How to find a loop in a linklist using C?

+1 vote
posted Nov 17, 2016 by anonymous

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

A solution is posted here. Just a suggestion, try to find a solution yourself first. Start with designing an algorithm or a flow and then write your program. You'll be surprised to find that it'll be much simpler once you dig into it.

Also, if you find it difficult, then instead of searching for the solution directly, search for parts of the solution, for example, "Creating a node" or "Put data into a node", etc. This will increase your confidence.

answer Jan 4 by Hemang Gandhi