首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
谭锅锅
江苏大学
2016届
C++工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(69)
二维数组中的查找
0
# -*- coding:utf-8 -*- class Solution: # array 二维列表 def Find(self, target, array): # write code here for sub in array: ...
发表于 2018-08-08 19:35:34
二叉树平衡检查
2
# -*- coding:utf-8 -*- # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self....
发表于 2016-12-06 21:40:11
翻转子串
0
# -*- coding:utf-8 -*- class ReverseEqual: def checkReverseEqual(self, s1, s2): # write code here if len(s1) != len(s2): ...
发表于 2016-12-05 22:02:14
清除行列
1
# -*- coding:utf-8 -*- class Clearer: def clearZero(self, mat, n): # write code here line = [] row = [] for i in r...
发表于 2016-12-05 21:32:19
基本字符串压缩
0
# -*- coding:utf-8 -*- class Zipper: def zipString(self, iniString): # write code here flag = False out = "" ...
发表于 2016-12-01 22:54:34
空格替换
2
# -*- coding:utf-8 -*- class Replacement: def replaceSpace(self, iniString, length): # write code here return iniString.replace(&q...
发表于 2016-12-01 21:59:22
确定两串乱序同构
0
# -*- coding:utf-8 -*- class Same: def checkSam(self, stringA, stringB): # write code here if len(stringA) != len(stringB): ...
发表于 2016-12-01 21:55:04
原串翻转
0
# -*- coding:utf-8 -*- class Reverse: def reverseString(self, iniString): # write code here return iniString[::-1] 感觉没什么...
发表于 2016-12-01 21:43:31
确定字符互异
4
# -*- coding:utf-8 -*- class Different: def checkDifferent(self, iniString): # write code here if len(iniString) == le...
发表于 2016-12-01 21:21:10
字符逆序
1
data=raw_input("") str="" leng=len(data) for i in range(-1,-leng-1,-1): str+=data[i] print str 上面是Python写的代码,C++实现也很简单,就不写了
发表于 2016-07-07 22:21:17
首页
上一页
1
2
3
4
5
6
7
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题