首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
玄学求offer~
广东工业大学
2020届
C++工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(75)
正则表达式匹配
0
class Solution { public: bool match(string str, string pattern) { char a[100],b[100]; strcpy(a,str.c_str()); strcpy(b,pattern....
发表于 2019-05-04 15:34:17
RatingBar 组件中不能用属性直接设置的是
4
答案:D 【解析】 RatingBar中的相关属性: 1)android:rating = "3.5",这一条是设置默认的分数,可以是浮点数,因为我们的RatingBar其实是评分条,所以星星的数量其实就是用来显示分数的数量,而默认的分数就...
发表于 2019-05-02 10:40:33
把二叉树打印成多行
0
class Solution { public: vector<vector<int> > Print(TreeNode* pRoot) { vector<vector<int> > ret; ...
发表于 2019-04-30 13:45:55
对称的二叉树
0
class Solution { public: bool isSymmetrical(TreeNode* pRoot) { return isSymmetrical(pRoot, pRoot); } bool isSymmetrical(TreeNo...
发表于 2019-04-30 13:26:28
字符流中第一个不重复的字符
0
class Solution { private: string m_data; int m_index = 0; map<int, int> m_map; public: //Insert one char from stringstream ...
发表于 2019-04-20 11:33:14
孩子们的游戏(圆圈中最后剩下的数)
0
class Solution { public: //约瑟夫问题,求递推公式,每轮的序列中最后出序列的数都是同一个 int LastRemaining_Solution(int n,int m) { if(n < 1 || m < 1) ...
发表于 2019-04-17 20:27:52
数组中只出现一次的数字
1
class Solution { public: void FindNumsAppearOnce(vector<int> data,int* num1,int *num2) { int len = data.size(); if(len < ...
发表于 2019-04-16 19:41:37
二叉树的深度
1
class Solution { public: int max(int n1, int n2) { if(n1 > n2) return n1; return n2; } int TreeDepth(Tr...
发表于 2019-04-16 19:19:27
数字在升序数组中出现的次数
1
class Solution { public: int GetNumberOfK(vector<int> data ,int k) { return count(data.begin(), data.end(), k); } }; 懒人写法
发表于 2019-04-16 19:07:18
两个链表的第一个公共结点
1
class Solution { public: ListNode* FindFirstCommonNode( ListNode* pHead1, ListNode* pHead2) { if(pHead1 == nullptr || pHead2 == nullptr) ...
发表于 2019-04-13 16:41:50
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题