摘要: 关于二叉树四种遍历方式的核心代码 1、前序遍历 //preOrder: void PrintPreOrder(BinaryTreeNode* pNode) { if (pNode == nullptr) return; BinaryTreeNode* pCurrent = pNode; std::c 阅读全文
posted @ 2020-08-17 22:36 笑着的程序员 阅读(74) 评论(0) 推荐(0)