有序遍历
摘要:1. 先序遍历:根左右,中序遍历:左根右,后序遍历:左右根2.表达式:a+b*(c-d)-e/f的二叉树为则先序遍历为 -+a*b-cd/ef 中序遍历为 a+b*(c-d)-e/f 后序遍历为 abcd-*+ef/-3.已知先序遍历为abdgcefh,中序遍历为dgbaechf,求二叉树及后续...
阅读全文
posted @ 2015-08-23 23:20
posted @ 2015-08-23 23:20
posted @ 2015-08-21 05:20