摘要:
[抄题]: Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not 阅读全文
posted @ 2018-08-06 23:25
苗妙苗
阅读(302)
评论(0)
推荐(0)
摘要:
[抄题]: 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 shoul 阅读全文
posted @ 2018-08-06 09:58
苗妙苗
阅读(158)
评论(0)
推荐(0)