摘要: 真题链接:https://www.nowcoder.com/test/8537269/summary 第一题: 1 #include"iostream" 2 #include"algorithm" 3 #include"stdio.h" 4 using namespace std; 5 const 阅读全文
posted @ 2019-02-24 22:40 Run_For_Love 阅读(1167) 评论(0) 推荐(0) 编辑
摘要: 1 void MirrorIteratively(BinaryTreeNode* pRoot) 2 { 3 if(pRoot == nullptr) 4 return; 5 6 std::stack<BinaryTreeNode*> stackTreeNode; 7 stackTreeNode.pu 阅读全文
posted @ 2019-02-24 15:11 Run_For_Love 阅读(296) 评论(0) 推荐(0) 编辑
摘要: #include"iostream" #include"stdio.h" #include"math.h" using namespace std; struct BinaryTreeNode { double m_Value; BinaryTreeNode* m_pLeft; BinaryTree 阅读全文
posted @ 2019-02-24 11:07 Run_For_Love 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 1 #include"iostream" 2 #include"stdio.h" 3 #include"math.h" 4 using namespace std; 5 6 struct BinaryTreeNode 7 { 8 double m_Value; 9 BinaryTreeNode* m 阅读全文
posted @ 2019-02-24 11:06 Run_For_Love 阅读(424) 评论(0) 推荐(0) 编辑