首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
王六六
字节跳动_后端开发
湖南大学
2020届
Java工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(15)
最大字母矩阵
0
是我语文太差了吗(按别人的代码写的答案,题没看懂。) class AlphaMatrix: def findAlphaMatrix(self, dic, n): # write code here from collections import Counte...
发表于 2019-06-28 19:10:12
子串判断
0
class Substr: def chkSubStr(self, p, n, s): # write code here yes=set() no=set() ans=[] for w in p: ...
发表于 2019-06-28 16:47:42
最小调整有序
0
class Rearrange: def findSegment(self, A, n): minright=[A[-1] for _ in A]#从右往左的最小值 maxleft=[A[0] for _ in A]#从左往右的最大值 ...
发表于 2019-06-28 09:09:05
单词最近距离
0
class Distance: def getDistance(self, article, n, x, y): # write code here index1,index2=[],[] ans=0x7fffffff for ...
发表于 2019-06-28 08:30:09
魔术索引II
0
这才是标准答案,虽然最坏情况是O(n)。 class MagicIndex: def findMagicIndex(self, A, n): # write code here i=0#初始下标 while i<n: ...
发表于 2019-06-27 09:27:05
机器人的运动范围
0
class Solution: def movingCount(self, threshold, rows, cols): if rows * cols <= 0 or threshold <= 0: return 0 d...
发表于 2019-06-25 17:18:13
二叉搜索树与双向链表
0
class Solution: def Convert(self, root): # write code here pre=[None] head=[None] def convert(t): if t...
发表于 2019-06-07 18:36:05
Anniversary
1
m=int(input()) n=int(input()) g=[[] for _ in range(n)]#为了dfs用的图 weights=[0 for _ in range(n)]#到父节点的距离 parents={}#当有边插入时记录这条边 for i in range(n-1): ...
发表于 2019-03-10 16:07:17
UDP使用什么提供可靠性?
0
反推。udp是运输层协议并且不提供可靠交付服务。那么只能是运输层往上(五层模型)下应该是应用层。
发表于 2018-03-21 11:58:11
请求分页存储管理中,页面置换算法很多,但只有最佳置换算法能完全避免进程的抖动,因此目前应用最广。其他(如改进型CLOCK)算法虽然也能避免进程的抖动,但其效率一般很低。
0
最佳的是参照标准而已,目前没有实现。
发表于 2018-01-31 08:59:19
首页
上一页
1
2
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题