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
Is duplicate allowed in hashmap?
What is hashing in cyber security?
Explain the uses of binary tree.
Can a hashset contain duplicates?
What is the purpose of sorting?
What is binary tree and its properties?
Does the minimal spanning tree of a graph give the shortest distance between any 2 specified nodes?
What is data structures in computer science?
Describe stack operation.
What are linked lists used for?
What is circular linked list?
What is a circular singly linked list?
What are splay trees?
How many types of data structures are there?
How do you replace an element in an arraylist?