首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
GEZOX__
桂林航天工业学院
2013届
c#工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(5)
反转链表
0
# -*- coding:utf-8 -*- # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: # 返回ListNo...
发表于 2018-06-04 16:02:49
获取所有非manager的员工emp_no
0
第一种 使用 not in select emp_no from employees where emp_no not in(select emp_no from dept_manager) 即使在表字段emp_no建有索引,not in 也不会命中索引,适合在有限的集...
发表于 2018-06-01 15:52:25
旋转数组的最小数字
0
# -*- coding:utf-8 -*- class Solution: def minNumberInRotateArray(self, rotateArray): # write code here if not rotateArray: ...
发表于 2018-01-30 00:12:27
用两个栈实现队列
0
# -*- coding:utf-8 -*- class Solution: stack1 = [] stack2 = [] def push(self, node): self.stack1.append(node) def pop(self):...
发表于 2018-01-29 23:37:50
从尾到头打印链表
20
# python的实现这么少, 我来添砖加瓦 # 1.先遍历链表元素到栈 # 2.栈再弹出 # -*- coding:utf-8 -*- # class ListNode: # def __init__(self, x): # self.val = x # ...
发表于 2018-01-29 14:55:04
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题