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

How is bubble sort done?

464


Define threaded binary tree.

635


How to print element of Array?

582


Is queue fifo or lifo?

490


Define static data structures?

533






Do all declaration statements result in a fixed reservation in memory?

513


What's difference between stack and queue?

544


What are the advantages of data structure?

531


Define internal nodes?

545


Which is faster quick sort or merge sort?

482


What are the tasks performed during postorder traversal?

540


Write an algorithm to show various operations on ordered list and arrays

509


Define structure property in a heap?

570


What is binary tree? Explain its uses.

508


How do we find duplicate elements in an array?

561