domers
domers
全部文章
分类
归档
标签
去牛客网
登录
/
注册
domers的博客
全部文章
(共106篇)
题解 | #牛群的树形结构重建II#
/** * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {...
2023-09-11
0
291
题解 | #牛吃草问题#
#include <iostream> #include <vector> using namespace std; class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 ...
2023-09-06
0
258
题解 | #二进制求和#
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param A string字符串 * @param B string字符串 ...
2023-08-31
0
340
题解 | #草原上的牛群#
一行代码 class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param nums int整型vector * @return int整型 ...
2023-08-28
0
260
题解 | #牛群的树形结构展开#
/** * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {...
2023-08-28
0
291
题解 | #牛群平均重量#
/** * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {...
2023-08-28
0
295
题解 | #二叉树之寻找第k大#
/** * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {...
2023-08-28
0
320
题解 | #牛群的相似结构#
/** * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {...
2023-08-28
0
248
题解 | #牛牛和罗马数字智力游戏#
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param num int整型 * @param limit int整型 *...
2023-08-27
0
291
题解 | #子群的标签和#
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param nums int整型vector * @param k int整型 ...
2023-08-27
0
267
首页
上一页
2
3
4
5
6
7
8
9
10
11
下一页
末页