首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
美团招聘小助手
美团_后端开发工程师
北京邮电大学
2021届
Java工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(11)
斐波那契数列
1
function Fibonacci(n) { // write code here let pre = 1 let back = 1 let now if (n === 0) return 0 if (n ===1 || n ===2) retur...
发表于 2019-09-19 21:18:59
链表中环的入口结点
1
# -*- coding:utf-8 -*- # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def EntryN...
发表于 2019-08-19 13:37:36
扑克牌顺子
1
class Solution: def IsContinuous(self, numbers): # write code here if len(numbers) < 5: return False gap = ...
发表于 2019-08-16 15:23:41
孩子们的游戏(圆圈中最后剩下的数)
0
# -*- coding:utf-8 -*- class Solution: def LastRemaining_Solution(self, n, m): # write code here if n < 1 or m < 1: ...
发表于 2019-08-15 15:39:14
把字符串转换成整数
0
# -*- coding:utf-8 -*- class Solution: def StrToInt(self, s): # write code here number = ['0','1','2','3','4','5','6','7','8','9']...
发表于 2019-08-14 10:17:57
左旋转字符串
1
# -*- coding:utf-8 -*- class Solution: def LeftRotateString(self, s, n): # write code here if not s or len(s) == 0: re...
发表于 2019-08-14 09:46:20
和为S的连续正数序列
1
# -*- coding:utf-8 -*- class Solution: def FindContinuousSequence(self, tsum): # write code here if tsum <= 0: retu...
发表于 2019-08-13 23:25:12
数字在升序数组中出现的次数
1
# -*- coding:utf-8 -*- class Solution: def __init__(self): self.res = 0 def GetNumberOfK(self, data, k): # write code here ...
发表于 2019-08-09 20:08:22
二叉树中和为某一值的路径(二)
0
class Solution: # 返回二维列表,内部每个列表表示找到的路径 def __init__(self): self.res = [] self.path = [] def FindPath(self, root, expectNum...
发表于 2019-08-01 15:29:22
跳台阶
0
class Solution: def jumpFloor(self, number): if number == 0: return 0 elif number == 1: return 1 e...
发表于 2019-03-13 19:43:09
首页
上一页
1
2
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题