There is a Circular Singly Linked List with n nodes having sorted values
from 1 to n. Need to print the odd and even numbers in groups in a single
traversal.
Eg. Input: 1->2->3->4->5->6->1 Output: {Any combination of Odd Nos} {Any
combination of Even Nos} Eg. 1 3 5 6 4 2..... write a program for same?

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to