首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
young205
门头沟学院
2018届
golang工程师
关注
私信
加入黑名单
举报TA
TA的博客
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(33)
替换空格
0
class Solution: def replaceSpace(self, s): cnt = 0 for i in s: if i == " ": cnt +=1 ...
发表于 2019-04-13 11:29:27
二维数组中的查找
3
class Solution: # array 二维列表 def Find(self, target, array): # write code here if not array: return False i...
发表于 2019-04-11 23:57:14
按之字形顺序打印二叉树
0
# -*- coding:utf-8 -*- # 请实现一个函数按照之字形打印二叉树,即第一行按照从左到右的顺序打印,第二层按照从右至左的顺序打印,第三行按照从左到右的顺序打印,其他行以此类推。 # class TreeNode: # def __init__(self, x): # ...
发表于 2019-02-26 00:04:24
序列化二叉树
0
# -*- coding:utf-8 -*- # 请实现两个函数,分别用来序列化和反序列化二叉树 # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # ...
发表于 2019-02-21 22:54:51
链表中环的入口结点
0
class Solution: def EntryNodeOfLoop(self, pHead): # write code here val_dict = {} if not pHead: return None ...
发表于 2019-02-15 00:16:21
数组中重复的数字
0
class Solution: def duplicate(self, numbers,duplication): length = len(numbers) for i in numbers: # index = i ...
发表于 2019-02-08 17:33:05
左旋转字符串
0
class Solution: def LeftRotateString(self, s, n): if not s: return "" return s[n:]+s[:n]
发表于 2019-02-07 22:24:50
和为S的两个数字
0
class Solution: def FindNumbersWithSum(self, array, tsum): # write code here if len(array) <2: return [] pl...
发表于 2019-02-07 19:35:58
整数中1出现的次数(从1到n整数中1出现的次数)
0
class Solution: def NumberOf1Between1AndN_Solution(self, n): # write code here self.cnt = 0 for v in range(n+1): ...
发表于 2019-02-05 11:36:30
关于GoMock,下面说法正确的是()
0
这题没有意义吧,一般的工具还要出个题?
发表于 2019-02-03 00:46:12
首页
上一页
1
2
3
4
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题