how to check whether a linked list is circular.
Answer Posted / burmeselady
start from pointer1
check all node's next pointer is null or not starting from
pointer1 until pointer1
if a node next pointer is null=> it is not circular.
else it is circular
| Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
How to palindrom string in c language?
What is data _null_? ,Explain with code when u need to use it in data step programming ?
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
why nlogn is the lower limit of any sort algorithm?
write a simple calculator c program to perform addition, subtraction, mul and div.
write a program for area of circumference of shapes
Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?
Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.
Write a routine to implement the polymarker function
how to test pierrot divisor
To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']
could you please send the program code for multiplying sparse matrix in c????
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
Sir... please give some important coding questions asked by product companies..
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql