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

Can arraylist contain duplicates?

488


Does arraylist maintain insertion order?

463


Explain what are the methods available in storing sequential files ?

488


What is circular linked list?

520


Can we modify final arraylist?

515






If we add enum constants to a sorted collection ( treemap , treeset ), what will be the order in which they will be maintained?

561


Write a program to insert an element and in the specific position in the array?

522


Where the data structures are used?

559


What is lifo?

660


Define hash table?

537


How do you empty an arraylist?

497


Data structure used to implement a menu

619


Write the steps involved in the insertion and deletion of an element in the stack.

899


What is best time complexity?

455


Is hashmap faster than arraylist?

451