摘要: 1 #include 2 #include 3 #include 4 5 //Real capacity is CircularQueueMaxSize -1 6 #define CircularQueueMaxSize 1000 7 #define MaxSize 1000 8 9 typedef int TreeEleType; 10 type... 阅读全文
posted @ 2018-08-20 12:01 Asurudo 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1 class Solution 2 { 3 public: 4 TreeNode* constructFromPrePost(vector& pre, vector& post) 5 { 6 if(pre.size()==0) 7 return NULL; 8 ... 阅读全文
posted @ 2018-08-20 11:19 Asurudo 阅读(330) 评论(0) 推荐(0) 编辑