IncredibleThings

导航

2020年4月24日 #

LeetCode - Flatten Binary Tree to Linked List

摘要: Given a binary tree, flatten it to a linked list in-place. For example, given the following tree: 1 / \ 2 5 / \ \ 3 4 6 The flattened tree should look 阅读全文

posted @ 2020-04-24 13:42 IncredibleThings 阅读(83) 评论(0) 推荐(0)