Meta Interview Question

Modify a give binary tree into a doubly linked list