
笔试编程
chde2Wang
滴水穿石
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
第k个数组中的最小值
练习1:二维vector操作:#include<iostream>#include <vector>using namespace std;int main(){ vector<vector<int>> a; vector<int> b; b.push_back(1); b.push_back(2); vecto...原创 2019-06-04 11:18:16 · 301 阅读 · 0 评论 -
Leedcode1-求树的最小高度
#include<iostream>#include<algorithm>#include<queue>using namespace std;//5种情况:空树;没有子树;只有左/右子树;有俩子树;struct BinaryNode { BinaryNode *left; BinaryNode *right; int data;};s...原创 2019-06-04 17:30:11 · 343 阅读 · 0 评论