摘要:
紫书:P150 uva122BackgroundTrees are fundamental in many branches of computer science. Current state-of-the art parallel computers such as Thinking Machi... 阅读全文
摘要:
紫书P148,例题6-6Sample Input4 23 410 12 28 128Sample Output1275123255这应该不仅仅是一棵完全二叉树,题目中说保证所有叶子节点的深度都相同,所以这是一颗满二叉树。这里要弄清满二叉树的一些概念和性质,首先,对于一颗满二叉树来说,他每一层的节点数... 阅读全文