How can one find a cycle in the linked list? IF found how
to recognize the cycle and delete that cycle?

Answer Posted / kannan

If the address part of the node contains the header address
then cycle is formed Is it so...

Is This Answer Correct ?    21 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What you mean by sorting?

693


How would you sort words in a large file?

716


What is quick sort example?

660


Define in brief an array. What are the types of array operations?

833


Define non-linear data structures?

756


Why linked lists are better than arrays?

682


What is data structure definition?

664


Is quicksort recursive?

730


List the applications of queues?

687


What is the difference between arraylist and linkedlist?

663


By Which algorithm, the 8 queens problem is solved?

670


What is time complexity of quick sort?

645


How do stacks work?

697


What are dynamic data structures?

930


Define back edge?

715