Microsoft interview question

Binary tree to linked list.