Even after odd - Linked list

I have created a new linked list to solve this question, is there any better approach or how can i further optimise my code?

hi sanchit it is a fine approach