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
What is difference between array and arraylist?
Which algorithm is used in collections sort method?
do records fall under linear or non linear data structures?
What does abstract data type mean?
What is dynamic array with example?
Do all declaration statements result in a fixed reservation in memory?
How will you reverse Linked List.
Which sorting technique is best in worst case?
What is data structure and its operations?
What is binary tree example?
How to get a list of tables, views and columns in firebird database?
Explain the sorting algorithm that is most suitable to be used with single linked list?
Is array a collection?
How can we reverse the order in the treemap?
What is the difference between length () and size () of arraylist?