首页
首页
沸点
课程
直播
活动
竞赛
商城
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
超级初心者
掘友等级
初心者
|
家里蹲
python,java,swift,oc,js
关注
私信
获得徽章 0
动态
文章
专栏
沸点
收藏集
11
关注
赞
281
文章 281
沸点 0
资讯 0
赞
281
关注
返回
|
搜索文章
文章
热门
最新
超级初心者
1年前
LeetCode
739. 每日温度
739. 每日温度 难度中等876 收藏 分享 切换为英文 接收动态 反馈 请根据每日 气温 列表 temperatures ,请计算在每一天需要等几天才会有更高的温度。如果气温在这之后都不会升高,请
98
1
评论
超级初心者
1年前
LeetCode
654. 最大二叉树
654. 最大二叉树 难度中等323 收藏 分享 切换为英文 接收动态 反馈 给定一个不含重复元素的整数数组 nums 。一个以此数组直接递归构建的 最大二叉树 定义如下: 二叉树的根是数组 nums
43
1
评论
超级初心者
1年前
LeetCode
lc239
239. 滑动窗口最大值 思路: 1.暴力法,双层便利 java代码: 2.双端队列 维护一个双端队列deque 和一个数组result 从i开始遍历nums 把nums[i]的下标添加进队列尾部(添
85
1
评论
超级初心者
1年前
LeetCode
203. 移除链表元素
移除链表元素 (https://leetcode-cn.com/problems/remove-linked-list-elements/) 思路: 建立一个虚拟头节点, newHead, newTa
88
1
评论
超级初心者
1年前
LeetCode
977. 有序数组的平方
//977. 有序数组的平方 https://leetcode-cn.com/problems/squares-of-a-sorted-array/ 思路:双指针,l,r 当l<r时,遍历头尾,绝对值
103
1
评论
超级初心者
1年前
LeetCode
16.16. 部分排序
面试题 16.16. 部分排序 https://leetcode-cn.com/problems/sub-sort-lcci/ 思路: 从左往右遍历,寻找当前遍历过的数中最大的值,并与当前值比较,如果
75
1
评论
超级初心者
1年前
LeetCode
75. 颜色分类
颜色分类 https://leetcode-cn.com/problems/sort-colors/ 思路:3指针 l,r,index 按照index遍历,遇到2和r交换,遇到0和l交换,遇到1ind
95
1
评论
超级初心者
2年前
Java
java 动态数组
动态数组(Dynamic Array)接口设计int size(); // 元素的数量boolean isEmpty(); // 是否为空boolean contains(E element); //
78
1
评论
超级初心者
2年前
LeetCode
leetcode 53. Maximum Subarray
Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Ex…
75
1
评论
超级初心者
2年前
LeetCode
leetcode 70. Climbing Stairs
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways…
108
1
3
下一页
个人成就
文章被点赞
143
文章被阅读
19,850
掘力值
1,306
关注了
122
关注者
4
收藏集
11
关注标签
28
加入于
2018-03-15
温馨提示
当前操作失败,如有疑问,可点击申诉