Pregunta de entrevista de Meta

How do you transform a binary tree into a linked list