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
Define collision in hashing?
Can hashset contain duplicates?
Is stack a dynamic data structure?
What are the applications of priority queues?
What is a subtree?
Should I use hashmap or hashtable?
State the difference between stacks and linked lists?
How would you implement two stacks using a single array?
What is ordered map?
What is a hashers run?
Can treemap key null?
Define separate chaining?
What is doubly linked list in data structure?
How does a dynamic array work?
What is the main advantage of a linked list?