摘要: bool isValidSerialization(string preorder) { int len = preorder.size(); vector temp; bool flag = true; for (int i = 0; i 1 && temp[sz - 1] == '#'&&temp[sz - 2] == '#') { temp.p... 阅读全文
posted @ 2016-03-06 14:43 HUSTLX 阅读(182) 评论(0) 推荐(0) 编辑