用非递归和栈来写该算法void diameter(BinaryTree &bitree)
求一棵二叉树的一条直径路径,你可以看一下DFS深度优先
http://blog.csdn.net/qq_32832023/article/details/53053007