wjp_
wjp_
全部文章
分类
归档
标签
去牛客网
登录
/
注册
wjp_的博客
全部文章
(共25篇)
题解 | 生词篇章查询
#include <iostream> #include <unordered_map> #include <string> #include <vector> using namespace std; int main() { int N;...
2025-08-05
0
41
题解 | 字符串构造判定
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param ransomNote string字符串 * @param magazine...
2025-08-05
0
42
题解 | 两个数组的交集
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param nums1 int整型vector * @param nums2 int整型...
2025-08-05
0
37
题解 | 字母异位词的长度
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param s string字符串 * @param c string字符串 ...
2025-08-05
0
51
题解 | 大整数哈希
#include <iostream> #include <unordered_map> #include <vector> using namespace std; int main() { unsigned long long n; cin ...
2025-08-05
0
38
题解 | 字符串哈希
#include <iostream> #include <unordered_set> using namespace std; int main() { int n; cin >> n; unordered_set<string...
2025-08-04
0
64
题解 | 判断一个链表是否为回文结构
/** * struct ListNode { * int val; * struct ListNode *next; * ListNode(int x) : val(x), next(nullptr) {} * }; */ #include <algorithm> clas...
2025-08-04
0
49
题解 | 链表相交
#include <bits/stdc++.h> #include <cstdio> using namespace std; struct ListNode { int val; ListNode *next; ListNode(int x) : ...
2025-08-04
0
44
题解 | 合并两个排序的链表
/** * struct ListNode { * int val; * struct ListNode *next; * ListNode(int x) : val(x), next(nullptr) {} * }; */ class Solution { public: ...
2025-08-04
0
39
题解 | 序列链表化
/** * struct ListNode { * int val; * struct ListNode *next; * ListNode(int x) : val(x), next(nullptr) {} * }; */ class Solution { public: /*...
2025-08-04
0
62
首页
上一页
1
2
3
下一页
末页