Meta interview question

Convert binary tree to doubly linked list