114. Flatten Binary Tree to Linked List

Flatten Binary Tree to Linked List 題目 Given a binary tree, flatten it to a linked list in-place. For example, Givenhtml 1 / \ 2 5 / \ \ 3 4 6 The flattened tree should look like:web
相關文章
相關標籤/搜索