摘要: 原理图: 理论值: 前序遍历:10 5 3 6 20 15 30 中序遍历:3 5 6 10 15 20 30 后序遍历:3 6 5 15 30 20 10 运行结果: 源代码: Node参见上一节,这里就不装逼了。 Tree: public class Tree { public Node roo 阅读全文
posted @ 2018-03-06 10:51 爱编程的文科生 阅读(159) 评论(0) 推荐(0) 编辑