牛客314328168号
牛客314328168号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客314328168号的博客
全部文章
(共7篇)
题解 | #访问单个节点的删除#
/* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) {} };*/ #include <cstddef> class Remove { ...
2023-02-13
0
381
题解 | #像素翻转#
#include <vector> class Transform { public: vector<vector<int> > transformImage(vector<vector<int> > mat, int n) { ...
2023-02-10
0
334
题解 | #基本字符串压缩#
#include <iostream> class Zipper { public: string zipString(string iniString) { // write code here string res = ""; ...
2023-02-10
0
327
题解 | #空格替换#
class Replacement { public: string replaceSpace(string iniString, int length) { // write code here string res = ""; for(au...
2023-02-10
0
342
题解 | #确定两串乱序同构#
#include <algorithm> #include <string> class Same { public: bool checkSam(string stringA, string stringB) { // write code her...
2023-02-10
0
310
题解 | #原串翻转#
#include <stack> #include <string> class Reverse { public: string reverseString(string iniString) { // write code here ...
2023-02-10
0
422
题解 | #确定字符互异#
#include <map> class Different { public: bool checkDifferent(string iniString) { // write code here map<char,int> stri...
2023-02-10
1
657