andy6you
andy6you
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
andy6you的博客
全部文章
(共3篇)
题解 | #牛群分组II#
class Solution { public: vector<int> path; vector<vector<int> > res; bool is_equal(vector<int> &arr, int targe...
2024-10-19
0
73
题解 | #在二叉树中找到两个节点的最近公共祖先#
/** * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {...
2024-06-10
0
157
题解 | #两个升序数组的中位数#
#include <climits> #include <vector> class Solution { public: int getKElement(vector<int> nums1, vector<int> nums2, int...
2024-04-07
1
306