LeetCode—114. Flatten Binary Tree to Linked List

LeetCode—114. Flatten Binary Tree to Linked List 題目 https://leetcode.com/problems/flatten-binary-tree-to-linked-list/description/ 思路及方法 前序遍歷二叉樹,存到列表裏,在建立新書。 代碼 /** * Definition for a binary tree node
相關文章
相關標籤/搜索