返回顶部

09 2020 档案

摘要:内容概述及预备知识 预备知识:二叉树定义 代码中的构造 二叉树 : #include <iostream> using namespace std; /* * 二叉树的构造! * */ class TreeNode{ // class 默认是private visiblity | 而c++ 中str 阅读全文
posted @ 2020-09-13 21:50 Zcb0812 阅读(149) 评论(0) 推荐(0)
摘要:How do I thoroughly understand Recursive Algorithm and not feel like recursion is magic? Recursion is magic! But any sufficiently advanced technology  阅读全文
posted @ 2020-09-13 10:40 Zcb0812 阅读(164) 评论(0) 推荐(0)
摘要:内容概述及预备知识 预备知识:递归函数与回溯算法 #include <iostream> #include <vector> using namespace std; class ListNode{ public: int val; ListNode * next; ListNode(int x): 阅读全文
posted @ 2020-09-12 12:29 Zcb0812 阅读(177) 评论(0) 推荐(0)
摘要:内容概述及预备知识 预备知识:钞票支付问题: 代码实现: #include <iostream> using namespace std; int main(){ const int RMB[] = {200,100,20,10,5,1}; int kinds = sizeof(RMB)/sizeo 阅读全文
posted @ 2020-09-10 19:16 Zcb0812 阅读(188) 评论(0) 推荐(0)
摘要:将所有网页都变为黑色 https://agirls.aotter.net/post/56218 指令: chrome://flags/#enable-force-dark 阅读全文
posted @ 2020-09-10 12:46 Zcb0812 阅读(366) 评论(0) 推荐(0)