https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list/ 1. 2022/05/07 시도 소요시간: 9분 class Solution { public Node flatten(Node head) { Node current = head; while(current != null) { Node nextNode = current.next; if (current.child != null) { current.next = current.child; current.child.prev = current; current.child = null; Node last = current; while (last.next != null) { last = last.nex..