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
相关文章
相关标签/搜索