牛客953888314号
牛客953888314号
全部文章
题解
归档
标签
去牛客网
登录
/
注册
牛客953888314号的博客
全部文章
/ 题解
(共2篇)
题解 | #求二叉树的层序遍历#
求二叉树的层序遍历题解,bfs "> // write code here vector<vector<int>> vect; if (root==NULL) { return vect...
C++
广度优先搜索
二叉树
2021-10-19
2
445
题解 | #二分查找-II#
C++二分查找之while循环题解 int search(vector<int>& nums, int target) { // write code here int isLeft = 0; int isRight = nums.size() - 1; while ((...
C++
二分查找
2021-10-19
0
333