Pregunta de entrevista de Amazon

Convert a binary tree into a doubly linked list