Topic: Linked List Problem / Level: intermediate

Problem: Write a function to rearrange a singly linked list such that all negative numbers appear before non-negative numbers.

Run the code to see the output here...