Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. Martin Golding

Find Cyclic

Language Java | Level Intermediate | Category Data structure | September 5, 2015 10:08 pm

Data structure Description

Write a program to find if a linked list is circular has a cycle or ends. The function should take a head pointer as input and return true if the linked list contains cycle. If the linked list does not contain any cycle, it returns false.



Insert items in Linked List: 9, 43, 34, 11, 78, 55
Does the listed list contain loop: false



No comments available!

Please login to add comments.