How can one find a cycle in the linked list? IF found how
to recognize the cycle and delete that cycle?
Answer Posted / kannan
If the address part of the node contains the header address
then cycle is formed Is it so...
Is This Answer Correct ? | 21 Yes | 16 No |
Post New Answer View All Answers
Why linked lists are better than arrays?
What is inserting in data structure?
What is the difference between set and unordered_set?
How does threaded binary tree represented in data structure?
How do you find the time complexity of a bubble sort?
Explain about the different lists available in the collection?
Can we change the size of an array at run time?
What are the advantages of linked list over an array?
What is meant by binary tree traversal?
What is placement new in data structures?
What is default size of hashmap?
What do you mean by collision in hashing?
Is hashmap ordered?
Define a tree?
Which is better merge or quick sort?