![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔试编程
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 · 222 阅读 · 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 · 295 阅读 · 0 评论