Flatten Multi-Level Linked List
You are given a multilevel linked list where each node has a `next` pointer and a `child` pointer. The list is flattened by expanding all child lists into the main list.
You are given a multilevel linked list where each node has a `next` pointer and a `child` pointer. The list is flattened by expanding all child lists into the main list.