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
Can we add elements to final list?
What is difference between set and map?
Which interfaces are implemented by hashmap?
Is null a binary search tree?
What is bubble sort and quick sort?
Program to remove duplicate elements in an array.
Differentiate between iterator and enumeration.
Write a code for dynamic allocation of array.
how to display Singly Linked List from First to Last?
Should I use hashmap or hashtable?
Define a set?
What is the complexity of sorting algorithm?
Do you know what is linear search?
How would you use bsearch() function to search a name stored in array of pointers to string?
What is dequeue operation?