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 tree and its properties?
Why is quicksort so fast?
What is sorting in data structure?
Write an algorithm to show the postfix expression with the input given as : a b + c d +*f ? .
How many types of data structures are there?
Define left-in threaded tree?
What does a bubble chart show?
What should I learn first data structures or algorithms?
What is height balanced tree?
Can you provide some implementation of a dictionary having large number of words?
Why set will not allow duplicates?
What is the best sorting technique?
What are the basic operations of stack?
What is difference between tree and forest?
What are the advantages and disadvantages of linked list?