原文:[LeetCode] Verify Preorder Serialization of a Binary Tree 验证二叉树的先序序列化

One way to serialize a binary tree is to use pre order traversal. When we encounter a non null node, we record the node s value. If it is a null node, we record using a sentinel value such as . For e ...

2016-02-01 10:52 5 9207 推荐指数:

查看详情

线索二叉树

  线索在很多书上都有详细解读,这里只是写了一个较为完整的一个程序罢了 ...

Sun Nov 20 06:27:00 CST 2016 0 3104
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM