FactSet interview question

Convert a binary search tree to a doubly linked list