Find the middle node in the linked list??
(Note:Do not use for loop, count and count/2)
Answer Posted / kar..
move the front pointer and rear pointer at equal
intervel,these both pointe will meet at one node is middle...
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is the time and space complexities of merge sort and when is it preferred over quick sort?
Explain how can I avoid the abort, retry, fail messages?
Which built-in library function can be used to match a patter from the string?
What are enums in c?
Explain main function in c?
What do you mean by scope of a variable in c?
What is d scanf?
What are the types of c language?
how could explain about job profile
Write a program to check prime number in c programming?
What is abstract data structure in c?
Why is c used in embedded systems?
what does static variable mean?
What is signed and unsigned?
what is recursion in C