Check this http://ideone.com/1I40z
On Wed, Jun 29, 2011 at 8:04 PM, Nishant Mittal <[email protected]>wrote: > segregate even and odd nodes in a singly linked list.Order of even and > odd numbers must be same... > e.g:- > i/p list is 4->1->3->6->12->8->7->NULL > o/p list 4->6->12->8->1->3->7->NULL > > -- > 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. > > -- 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.
