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
Does treeset allow null values?
State the difference between arrays and linked lists?
Does arraylist have a tostring?
What are the main differences between the linked list and linear array?
Why using cookie to store session info is a better idea than just using session info in the request?
Which sorting algorithm is best for large data?
What is a singletonlist?
What is array sort?
What are the categories of avl rotations?
Is arraylist better than array?
Construct a doubly linked list using a single pointer in each node?
What is the difference between adt and data structure?
Why sorting is done?
What is difference between concurrenthashmap and hashtable?
What is the minimum number of queues that can be used to implement a priority queue?