首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
WindedMan
华中科技大学
2021届
Java工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(29)
字符串的排列
0
//正确的去重方法 //牛客的重复测试用例不够完善,没有充分考虑到重复用例 //比如“abb”牛客测试用例库没有添加 导致很多未能完全去重的解法也能通过 class Solution { void Allrange(string str,int start,vector<strin...
发表于 2020-06-19 21:18:12
以下哪个协议不是无状态协议?
0
http无状态协议,记录下
发表于 2020-06-12 11:49:08
替换空格
0
从后往前复杂度O(n); class Solution { public: void replaceSpace(char *str,int length) { if(str==nullptr||length<=0)return ; int blackcount...
发表于 2020-06-07 09:58:51
旋转数组的最小数字
1
二分法查找 int minNumberInRotateArray(vector<int> rotateArray) { int n=rotateArray.size(); if(n==0)return 0; int low=0,high=n...
发表于 2020-05-04 20:45:12
LRU缓存机制
0
#include<bits/stdc++.h> using namespace std; void get(int key,unordered_map<int,int>&hash,list<int>&l){ if(hash.find(ke...
发表于 2020-05-04 11:30:07
bit count
0
#include<bits/stdc++.h> using namespace std; int main(){ long num; cin>>num; int count=0; long dev=1; int len=64; ...
发表于 2020-04-28 23:22:41
判断二叉树是否相等
0
class Solution { public: bool isSameTree(TreeNode *p, TreeNode *q) { if(!p&&!q)return true; return p&&q&&(...
发表于 2020-04-12 12:11:36
订单分配
0
为什么会报错数组溢出或者递归层次太多 ,求帮忙看看 #include<bits/stdc++.h> using namespace std; vector<int>res; vector<bool>tag; double rmax=0; void solve(ve...
发表于 2020-03-25 16:38:10
缩写
1
找空格就行 #include<bits/stdc++.h> using namespace std; int main(){ string s; getline(cin,s); string res="";res+=s[0]; st...
发表于 2020-03-23 21:16:27
删除公共字符
0
#include<bits/stdc++.h> using namespace std; int main(){ string s1,s2; getline(cin,s1); getline(cin,s2); for(auto s:s1){ ...
发表于 2020-03-23 20:59:19
首页
上一页
1
2
3
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题