首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
讯飞内推官
科大讯飞有限公司_AI研究院_算法工程师
中央大学
2002届
行政管理
简历优先直达研究院
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(16)
矩阵中的路径
0
# # 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 # # # @param matrix char字符型二维数组 # @param word string字符串 # @return bool布尔型 # class Solution: def dfs(se...
发表于 2022-01-09 16:42:27
二叉搜索树的第k个节点
0
class Solution: def __init__(self): self.idx = 0 def tra(self , proot: TreeNode, k: int) -> int: # write code here ...
发表于 2022-01-04 14:55:07
打印从1到最大的n位数
2
pyton class Solution: def printNumbers(self , n ): # write code here return list(range(1,10**n))
发表于 2021-11-07 22:31:11
删除链表的节点
0
python class Solution: def deleteNode(self , head: ListNode, val: int) -> ListNode: # write code here ret = ListNode(0) ...
发表于 2021-11-07 22:05:50
表示数值的字符串
0
python利用异常捕获机制(机智) class Solution: def isNumeric(self , str ): # write code here try: float(str) return ...
发表于 2021-11-05 00:03:23
数组中只出现一次的两个数字
0
Python 一行解法 class Solution: def FindNumsAppearOnce(self , array ): # write code here x = sorted(list(filter(lambda x:array.c...
发表于 2021-11-04 00:15:51
数组中重复的数字
0
python一行解法 class Solution: def duplicate(self , numbers ): # write code here x = list(filter(lambda n:numbers.count(n)>1, num...
发表于 2021-11-04 00:13:41
旋转数组的最小数字
0
# -*- coding:utf-8 -*- class Solution: def minNumberInRotateArray(self, rotateArray): # write code here for i in range(len(rotateA...
发表于 2019-12-28 18:45:09
牛牛的闹钟
0
语言:Python 3 运行时间: 36 ms 占用内存:3544K n = int(input()) clock = [] for _ in range(n): clock.append(list(map(int, input().split()))) c = int(input()) ...
发表于 2019-08-13 15:27:04
X=+0111001,Y=+1001101,求[X-Y]补=[$##$]
4
x[补] = 0011 1001; y[补] = 0100 1101,-y[补] = 1011 0011; 答案:0011 1001 + 1011 0011 = 1110 1100
发表于 2019-08-09 10:36:59
首页
上一页
1
2
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题