Topic: Linked List Problem / Level: intermediate

Problem: How do you rearrange nodes in a singly linked list such that all odd numbers appear before even numbers?

Run the code to see the output here...