AIGC
AIGC
全部文章
题解
归档
标签
去牛客网
登录
/
注册
AIGC的博客
全部文章
/ 题解
(共25篇)
题解 | #最长公共子串#
class Solution { public: /** * longest common substring * @param str1 string字符串 the string * @param str2 string字符串 the string ...
C++
动态规划
2021-10-13
0
336
题解 | #按之字形顺序打印二叉树#
/* struct TreeNode { int val; struct TreeNode *left; struct TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(N...
C++
队列
2021-10-13
0
297
题解 | #括号序列#
class Solution { public: /** * * @param s string字符串 * @return bool布尔型 */ bool isValid(string s) { // write code ...
C++
栈
2021-10-13
0
335
题解 | #最长无重复子数组#
class Solution { public: /** * * @param arr int整型vector the array * @return int整型 */ int maxLength(vector<int>&...
C++
哈希表
双指针
2021-10-13
3
373
题解 | #最长无重复子数组#
class Solution { public: /** * * @param arr int整型vector the array * @return int整型 */ int maxLength(vector<int>&...
C++
哈希表
2021-10-13
0
325
首页
上一页
1
2
3
下一页
末页