首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
forwil
西安电子科技大学
2020届
C++工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(14)
最小排列
0
#include <iostream> #include<algorithm> #include<vector> #include<string> using namespace std; bool kmp(const string& s1,...
发表于 2019-05-10 16:20:53
课程冲突
0
小白来了,轻喷: #include<map> #include <iostream> #include<algorithm> #include<vector> #include<string> using namespace std;...
发表于 2019-05-08 13:35:59
球赛
0
本地上是对的; 测试用例也过了,不知道还哪有问题 ?
发表于 2019-05-07 23:16:29
替换空格
0
class Solution { public: void replaceSpace(char *str,int length) { string s; int i=0; while(str[i]!='\0'){ ...
发表于 2019-02-28 22:44:56
数字在升序数组中出现的次数
0
class Solution { public: //不想听:“今天的面试就到这,回去等消息” , 就老老实实二分法 // 2分法的前提是 有序 。 int GetNumberOfK(vector<int> data ,int k)...
发表于 2019-02-27 22:54:38
链表中的节点每k个一组翻转
0
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} ...
发表于 2018-12-26 16:52:46
旋转图像
0
class Solution { public: //先把矩阵转置,在将每一行反转 void rotate(vector<vector<int> > &matrix) { if(matrix.size()<=0) ...
发表于 2018-12-25 23:07:47
加一
0
class Solution { public: //题意:将给定数组看作一个整数, 求其值加1, vector<int> plusOne(vector<int> &digits) { vector<int>v; ...
发表于 2018-12-21 21:52:08
划分链表
0
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} ...
发表于 2018-12-21 10:58:33
最长的连续元素序列长度
0
class Solution { public: int longestConsecutive(vector<int> &num) { sort(num.begin(),num.end()); num.erase(unique(num.be...
发表于 2018-11-28 21:59:31
首页
上一页
1
2
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题