首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
欧巴禾
远景_EnOS Cloud_算法工程师
武汉大学
2020届
算法工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(153)
扑克牌顺子
0
class Solution: def IsContinuous(self,numbers): if not numbers: return False sort_numbers=sorted(numbers) king...
发表于 2019-04-22 13:12:46
翻转单词序列
0
class Solution: def ReverseSentence(self,s): l=s.split(' ') return ' '.join(l[::-1])
发表于 2019-04-21 23:06:39
左旋转字符串
0
class Solution: def LeftRotateString(self,s,n): if not s: return '' if n==0: return s else: ...
发表于 2019-04-21 22:17:48
和为S的两个数字
0
class Solution: def FindNumbersWithSum(self, array, tsum): if not array: return [] result=[] tail=len(array)-1...
发表于 2019-04-21 22:07:59
和为S的连续正数序列
0
class Solution: def FindContinuousSequence(self,tsum): result=[] for i in range(1,tsum//2+2): for j in range(i+1,tsum/...
发表于 2019-04-21 21:57:08
数组中只出现一次的数字
0
class Solution: # 返回[a,b] 其中ab是出现一次的两个数字 def FindNumsAppearOnce(self, array): # write code here dict={} while array: ...
发表于 2019-04-21 13:47:59
数字在升序数组中出现的次数
0
class Solution: def GetNumberOfK(self,data, k): # write code here count = 0 while data: q = data.pop(0) ...
发表于 2019-04-20 18:03:08
第一个只出现一次的字符
0
class Solution: def FirstNotRepeatingChar(self,s): dict={} for k in s: if k in dict.keys(): dict[k]+=1...
发表于 2019-04-17 09:43:32
判断是不是平衡二叉树
0
class Solution: def depth(self,root): if not root: return 0 return max(self.depth(root.left),self.depth(root.right))+1...
发表于 2019-04-16 22:25:43
统计各个部门的工资记录数
0
select b.dept_no,c.dept_name,count(salary) from salaries a,dept_emp b,departments c where a.emp_no=b.emp_no and b.dept_no=c.dept_no group by c.dept_n...
发表于 2019-04-14 21:33:54
首页
上一页
8
9
10
11
12
13
14
15
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题