首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
课程
专栏·文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
在线笔面试、雇主品牌宣传
登录
/
注册
要冲外企的王心凌男孩
获赞
459
粉丝
34
关注
24
看过 TA
3456
女
电子科技大学
2024
C++
IP属地:四川
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑要冲外企的王心凌男孩吗?
发布(75)
刷题
要冲外企的王心凌男孩
2023-09-29 18:50
电子科技大学 计算机类
题解 | #字符串排序#
#include <iostream> using namespace std; #include <bits/stdc++.h> const string alpha = "abcdefghijklmnopqrstuvwxyz"; int main() { string s, temp,res; getline(cin,s); res = s; //搜索字符c和他的大写如果s[i]是字母并填入res中对应的位置 for(int i = 0; i < 26; i++){ char c1 ...
0
点赞
评论
收藏
转发
要冲外企的王心凌男孩
2023-09-29 13:36
电子科技大学 计算机类
题解 | #密码验证合格程序#
#include <iostream> using namespace std; #include <bits/stdc++.h> bool isKindValid(string& s){ //bool upper = false, lower = false, digit = false, others = false; vector<bool>k(4,false); for(char c : s){ if(isupper(c)) k[0] = true; else if(islower(c)...
0
点赞
评论
收藏
转发
要冲外企的王心凌男孩
2023-09-29 12:56
电子科技大学 计算机类
题解 | #合唱队#
#include <iostream> using namespace std; #include <bits/stdc++.h> int main() { int n; cin>>n; vector<int>heights(n); for(int i = 0; i < n; i++){ cin>>heights[i]; } vector<int>dp1(n,1),dp2(n,0); for(int i = 1; i < n; i++){ ...
0
点赞
评论
收藏
转发
要冲外企的王心凌男孩
2023-09-29 11:34
电子科技大学 计算机类
华为川渝地区简历锁了么
华为川渝地区的问下铁子们简历锁了吗 我这咋还能改呢?是不是把鼠鼠给漏掉了 说是28号晚六点截止 我今天咋还能改捏
投递华为等公司10个岗位
0
点赞
评论
收藏
转发
要冲外企的王心凌男孩
2023-09-29 11:31
电子科技大学 计算机类
题解 | #找出字符串中第一个只出现一次的字符#
#include <iostream> using namespace std; #include <bits/stdc++.h> int main() { string s; cin>>s; unordered_map<char,int>m; for(int i = 0; i < s.size(); i++){ m[s[i]]++; } for(char c : s){ if(m[c] == 1){ cout<...
0
点赞
评论
收藏
转发
要冲外企的王心凌男孩
2023-09-26 11:06
电子科技大学 计算机类
小米二面完啥时候有结果啊
是在泡池子吗?有懂的老哥能给解释下么,这对鼠鼠我来说真的很重要牛客真灵啊 来还愿了许愿意向
投递小米集团等公司10个岗位
0
点赞
评论
收藏
转发
要冲外企的王心凌男孩
2023-09-25 12:06
电子科技大学 计算机类
题解 | #输出单向链表中倒数第k个结点#
#include <iostream> using namespace std; struct ListNode{ int val; ListNode* next; ListNode(int x):val(x),next(nullptr){} }; ListNode* findKthTOtail(ListNode* head, int k){ ListNode *fast = head, *slow = head; while(k--){ if(fast != nullptr) fast = fast->next; ...
0
点赞
评论
收藏
转发
要冲外企的王心凌男孩
2023-08-03 12:52
电子科技大学 计算机类
题解 | #简单错误记录#
#include <iostream> using namespace std; #include <unordered_map> #include <deque> int main() { unordered_map<string, int>dic; deque<string>dq; string s; while (getline(cin, s)) { // 截取代码行数和文件名作为字典的key 文件名限制16位 int n = s.size(), cnt = 1,...
0
点赞
评论
收藏
转发
要冲外企的王心凌男孩
2023-07-30 13:11
电子科技大学 计算机类
题解 | #孩子们的游戏(圆圈中最后剩下的数)#
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param n int整型 * @param m int整型 * @return int整型 */ int f(int n, int m){ if(n==0)return 1; //递归 int x = f(n - 1, m); //返回最后删除的那个元素 return (m ...
0
点赞
评论
收藏
转发
要冲外企的王心凌男孩
2023-07-29 22:58
电子科技大学 计算机类
题解 | #和为K的连续子数组#
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * max length of the subarray sum = k * @param arr int整型vector the array * @param k int整型 target * @return int整型 */ int maxlenEqualK(vector<int>& arr, int k) { unordere...
0
点赞
评论
收藏
转发
要冲外企的王心凌男孩
2023-07-29 22:31
电子科技大学 计算机类
题解 | #和为K的连续子数组#
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * max length of the subarray sum = k * @param arr int整型vector the array * @param k int整型 target * @return int整型 */ int maxlenEqualK(vector<int>& arr, int k) { unordere...
0
点赞
评论
收藏
转发
要冲外企的王心凌男孩
2023-07-27 15:19
电子科技大学 计算机类
中望笔试
总共笔试1.5h,其中编程3道 选择题 20道 填空题2道 涵盖C++基础 算法 网络 系统等 #笔试# 1.图1 a了66.7% 力扣43字符串相乘2.图2 重复的字符串后标记 重复出现的次数如:输入:“abc”,“abc” ,“acdgf”,“acdgf”,“bgd”,“abc”输出:“abc”,“abc(1)” ,“acdgf”,“acdgf(1)”,“bgd”,“abc(2)”哈希表a了75%3.图3 图4 两个数相减的结果的绝对值用链表表示要求空间和时间复杂度都为O(N)偷了16.67% offerII25链表中的两数相加。
投递中望软件等公司10个岗位
0
点赞
评论
收藏
转发
要冲外企的王心凌男孩
2023-07-26 20:23
电子科技大学 计算机类
题解 | #购物单#
//n:0~i个物品;M:钱数 m[i-1]:第i个物品的价格v[i-1]:第i个物品的价值 //dp[n][M] //dp[i][j]你现在有j元,现有i个物品,每个物品价格m[i],价值v[i],你花钱买他们,可以获得的最大价值是多少? //初始化一个data //背包分组 #include <iostream> #include <vector> using namespace std; int main() { int N, m; cin >> N >> m; N /= 10; int price, ...
0
点赞
评论
收藏
转发
要冲外企的王心凌男孩
2023-07-26 11:13
电子科技大学 计算机类
题解 | #坐标移动#
#include <iostream> using namespace std; #include <vector> bool isNum(string &s) { int n = s.size(); for (int i = 0; i < n; i++) { if (!isdigit(s[i])) return false; } return true; } int Coordinate_Movement(string &s) { int x = 0, y = 0; vector&...
0
点赞
评论
收藏
转发
要冲外企的王心凌男孩
2023-07-26 10:44
电子科技大学 计算机类
题解 | #坐标移动#
#include <iostream> using namespace std; bool isNum(string s) { int n = s.size(); for(int i = 0; i < n; i++) { if(!isdigit(s[i])) return false; } return true; } int main() { string s; int x = 0, y = 0; while (getline(cin, s, ';')) { if (s.empt...
0
点赞
评论
收藏
转发
1
2
3
4
5
工具箱
TA的圈子
暂未加入圈子
TA的圈子
TA的笔记
暂无笔记
TA的笔记
登录
0
天
已登录
0
天
连续登录
0
人
今日访客
牛客网
牛客企业服务