Find if there is a loop in a link list
Anonymous
Check the length of the list, then iterate over each element while incrementing a counter. If the counter becomes larger than the length of the list, you have a loop.
Check out your Company Bowl for anonymous work chats.