二叉树的先序中序后序遍历 - 递归算法 /** * title: 二叉树的前序、中序以及后序遍历(递归算法) * author: Whywait * Time Complexity: O(n); * Space Complexity: O(n). (The worst situation) */ void PreOrder(BiTree T) { if (T != NULL) { visit(T); //visit the root