Amazon Interview Question

Transform Binary Tree to LinkedList