Solution approach for even after odd

problem in linked list called even after odd is distrubing me.plz send its approach