首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
polaris95
中国科学院大学
2020届
算法工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(4)
不用加减乘除做加法
0
python3 class Solution: def Add(self, num1, num2): # write code here # 不进位之和 + 进位 while num2: sum = (num1 ^ ...
发表于 2019-08-14 10:06:07
求1+2+3+...+n
0
python3 class Solution: def Sum_Solution(self, n): # write code here # a and b 运算 res = n res += n and self.Sum_...
发表于 2019-08-14 09:55:06
数组中只出现一次的数字
0
python3 class Solution(object): def findNumsAppearOnce(self, nums): if not nums: return [] s = 0 # 假设返回的是x,y...
发表于 2019-08-13 21:44:00
复杂链表的复制
0
python3实现代码 # -*- coding:utf-8 -*- # class RandomListNode: # def __init__(self, x): # self.label = x # self.next = None # ...
发表于 2019-08-13 14:47:29
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题