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

Answer Posted / monti

Ok guys now you all know the answer of "How to find if a
list has a cycle or not"...now answer this "Give an optimal
solution to return the stating point of cycle in a link-list
if it contains a cycle or else return NULL. You are given
head of that link-list"

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the limitations of linear probing?

537


Can arraylist shrink?

492


What is selection sort with example?

608


What is data structure what is need of it?

487


Why do we need sorting?

479






What do you mean by external sorting?

461


Differentiate between hashmap and treemap.

510


How do you sort a collection in descending order?

546


What is precision?

596


Define rehashing?

617


What do you understand by stable sort?

536


Where is insertion sort used?

505


Is bubble sort slow?

525


Why is sorting and classifying important?

469


What are the advantage of collection classes over arrays?

529