Meta interview question

Convert a binary tree to double linked list.