Dfine
Dfine
全部文章
分类
归档
标签
去牛客网
登录
/
注册
Dfine的博客
全部文章
(共78篇)
题解 | 访问单个节点的删除
/* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) {} };*/ class Remove { public: bool removeNo...
2025-07-01
0
27
题解 | 访问单个节点的删除
/* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) {} };*/ class Remove { public: bool removeNo...
2025-07-01
0
24
题解 | 翻转子串
#include <vector> class ReverseEqual { public: bool checkReverseEqual(string s1, string s2) { // write code here if (s1.len...
2025-07-01
0
23
题解 | 清除行列
#include <cstddef> class Clearer { public: vector<vector<int> > clearZero(vector<vector<int> > mat, int n) { ...
2025-07-01
0
26
题解 | 像素翻转
class Transform { public: vector<vector<int> > transformImage(vector<vector<int> > mat, int n) { // write code h...
2025-06-30
0
20
题解 | 基本字符串压缩
#include <cstddef> #include <cstdint> #include <iostream> #include <string> class Zipper { public: string zipString(string...
2025-06-30
0
24
题解 | 空格替换
class Replacement { public: string replaceSpace(string iniString, int length) { // write code here int len = length; for (...
2025-06-30
0
22
题解 | 确定两串乱序同构
#include <array> #include <cstdint> class Same { public: bool checkSam(string stringA, string stringB) { // write code here ...
2025-06-30
0
31
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页