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
Write program for Quick sort ?
State the difference between queues and linked lists?
How do you get placements?
What are the advantage of collection classes over arrays?
How do I push an element into a stack?
What is mergesort and hashtable?
If you do not initialize an array what will happen?
Define ancestor and descendant ?
Is priority queue sorted?
Why is bubble sort stable?
Define binary tree insertion.
What is the order of b tree?
What is the difference between hashset and hashtable?
Does treemap preserve order?
What are different types of algorithms?