Leetcode日记:114.展平一个二叉树
Leetcode日记:114.展平一个二叉树题目Given a binary tree, flatten it to a linked list in-place.
For example, given the following tree:
12345 1 / \ 2 5 / \ \3 4 6
The flattened tree should look lik...
阅读全文…