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
Define root?
How do you find the depth of a binary tree?
What is sequential search?
Write a program to sum values of given array.
Which interface treemap implements?
State the advantages of using postfix notations?
Can list contain null values?
What is the difference between dictionary and hashtable?
What are binary trees?
What is sorted list in data structure?
What data type is enum?
What is data type and its types?
What is the time complexity of arraylist and linked list?
What should I learn first data structures or algorithms?
What are different methods of collision resolution in hashing.