LeetCode
Flatten Binary Tree to Linked List
Click
here
for an explanation.