How would you find a cycle in a linked list?

Answer Posted / amit

the last node of the list will have address of first node
then it is a cycle linked list.

Is This Answer Correct ?    4 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1496


What are operators in c?

801


write a program to find out prime number using sieve case?

1882


Can we change the value of constant variable in c?

837


Does c have class?

877


What is the significance of an algorithm to C programming?

826


Explain the use of 'auto' keyword in c programming?

921


When is a “switch” statement preferable over an “if” statement?

889


What is pivot in c?

778


Explain how do you override a defined macro?

829


What is uint8 in c?

900


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

827


How can variables be characterized?

1945


Explain how can I remove the trailing spaces from a string?

832


Is null a keyword in c?

952