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

Write a Program for Insert in a sorted list

499


Define an algorithm. What are the types of algorithms?

526


Is hashmap part of collection?

461


What is the difference between hashmap and arraylist?

511


What is meant by deque?

489






What does abstract data type mean?

570


List some applications of tree-data structure?

480


Explain the priority queue?

515


State the different ways of representing expressions?

689


Define biconnectivity?

514


What will be the output of below code?

598


Which data structure is applied when dealing with a recursive function?

600


Is arraylist reference type?

458


What are different techniques for making hash function? Explain with example.

532


How do you find the size of an arraylist?

399