转载地址:http://blog.csdn.net/piaoxue820/article/details/39156649 https://github.com/yuzhangcmu/LeetCode/blob/master/tree/TreeDemo.java(主要看这个)