How can one find a cycle in the linked list? IF found how
to recognize the cycle and delete that cycle?
Answer Posted / monti
Well, Answer-3 is correct but only for link list of type 'O'
but it fails for link list of type '9' (which also have a
circle). So to cover up all possibilities answer 2 should be
followed.
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What is the time complexity of selection sort?
Why entry interface is used in map?
Is an arraylist a vector?
What is insertion sort technique?
What is the difference between static and dynamic data?
State the rules to be followed during infix to prefix conversions?
Define union-by-weight?
What is the difference between hashset and hashtable?
List the abstract operations in the set?
Explain binary search tree?
What is a simple graph?
What is precision in data structures?
How to get top two numbers from an array?
What is time and space complexity of bubble sort?
Define 2-3-4 tree?