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 is data structure needed?
What is the idea behind splaying?
What are the four characteristics of algorithms?
Is list a data type?
How is the front of the queue calculated ?
Why quicksort is faster?
Write the disadvantages of separate chaining?
How does arraylist size work?
“int a[] = new int[3]{1, 2, 3}” – This a legal way of defining the arrays?
Does mentioning the array name gives the base address in all the contexts?
What is merge sort and how it works?
State the properties of a binary tree?
What is heap tree in data structure?
What is the difference between hashmap and treemap?
What is stable sorting?