首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
钱多事少离家近offer
门头沟学院
2020届
前端工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(24)
搜索插入位置
0
/** * * @param A int整型一维数组 * @param target int整型 * @return int整型 */ function searchInsert( A , target ) { // write code here let...
发表于 2020-09-16 21:27:26
在转动过的有序数组中寻找目标值
0
function search( nums , target ) { // write code here //return A.indexOf(target); let start = 0; let end = nums.length - 1; while...
发表于 2020-09-14 22:01:42
交互链表节点
0
/* * function ListNode(x){ * this.val = x; * this.next = null; * } */ /** * * @param head ListNode类 * @return ListNode类 */ functio...
发表于 2020-09-01 22:03:29
合并k个已排序的链表
0
/* * function ListNode(x){ * this.val = x; * this.next = null; * } */ /** * * @param lists ListNode类一维数组 * @return ListNode类 */ functi...
发表于 2020-08-31 21:49:21
有效括号序列
0
/** * * @param s string字符串 * @return bool布尔型 */ function isValid( s ) { // write code here let map = { '(':-1, ')':1...
发表于 2020-08-28 22:08:41
电话字母的组合
1
/** * * @param digits string字符串 * @return string字符串一维数组 */ function letterCombinations( digits ) { // write code here let phone = { ...
发表于 2020-08-24 21:52:19
最接近的三数之和
0
/** * * @param num int整型一维数组 * @param target int整型 * @return int整型 */ function threeSumClosest( num , target ) { // write code here ...
发表于 2020-08-19 21:41:29
三数之和
0
/** * * @param num int整型一维数组 * @return int整型二维数组 */ function threeSum( num ) { // write code here let res = []; let len = num.length...
发表于 2020-08-18 21:58:08
装最多水的容器
0
/** * * @param height int整型一维数组 * @return int整型 */ function maxArea( height ) { // write code here if(!height){ return 0; ...
发表于 2020-08-13 21:53:07
滑动窗口的最大值
0
function maxInWindows(num, size) { // write code here if(size == 0) return []; let window = []; let res = []; let i = 0, j = size ...
发表于 2020-02-10 15:30:20
首页
上一页
1
2
3
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题