FLATTEN-BINARY-TREE-TO-LINKED-LIST

solved with recurrence