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

Answer Posted / rajdeep...

Monti,
in ur ans what is the solution for the linked list having
two nodes but not circular....

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get top two numbers from an array?

592


What is hashing in cyber security?

511


Can we declare array size as a negative number?

615


What is the difference between the hash table and hash map?

518


How to get a list of tables, views and columns in firebird database?

478






What is the best sorting technique?

495


Why would you use a linked list?

474


Explain the uses of binary tree.

499


What is the structure of an array?

463


How do you reference all the elements in a one-dimension array?

590


What is the difference between linked list and array?

502


Who invented merge sort?

488


Does arraylist contain duplicates?

485


Differentiate file structure from storage structure?

513


Difference between calloc and malloc ?

535