LeetCode
Flatten a Multilevel Doubly Linked List
Click
here
for an explanation.