Bloomberg interview question

Convert Binary Tree to linked list