摘要: Invert a binary tree. to Solution: 阅读全文
posted @ 2017-09-11 14:55 一片叶子啊 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Given a binary search tree and the lowest and highest boundaries as L and R, trim the tree so that all its elements lies in [L, R] (R >= L). You might 阅读全文
posted @ 2017-09-11 14:05 一片叶子啊 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Given an integer array with even length, where different numbers in this array represent different kinds of candies. Each number means one candy of th 阅读全文
posted @ 2017-09-11 13:35 一片叶子啊 阅读(166) 评论(0) 推荐(0) 编辑