Meta interview question

How do you transform a binary tree into a linked list