首页
首页
沸点
课程
直播
活动
竞赛
商城
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
超级初心者
掘友等级
初心者
|
家里蹲
python,java,swift,oc,js
获得徽章 0
动态
文章
专栏
沸点
收藏集
关注
作品
赞
280
文章 280
沸点 0
赞
280
返回
|
搜索文章
最新
热门
739. 每日温度
739. 每日温度 难度中等876 收藏 分享 切换为英文 接收动态 反馈 请根据每日 气温 列表 temperatures ,请计算在每一天需要等几天才会有更高的温度。如果气温在这之后都不会升高,请
654. 最大二叉树
654. 最大二叉树 难度中等323 收藏 分享 切换为英文 接收动态 反馈 给定一个不含重复元素的整数数组 nums 。一个以此数组直接递归构建的 最大二叉树 定义如下: 二叉树的根是数组 nums
lc239
239. 滑动窗口最大值 思路: 1.暴力法,双层便利 java代码: 2.双端队列 维护一个双端队列deque 和一个数组result 从i开始遍历nums 把nums[i]的下标添加进队列尾部(添
203. 移除链表元素
移除链表元素 (https://leetcode-cn.com/problems/remove-linked-list-elements/) 思路: 建立一个虚拟头节点, newHead, newTa
977. 有序数组的平方
//977. 有序数组的平方 https://leetcode-cn.com/problems/squares-of-a-sorted-array/ 思路:双指针,l,r 当l<r时,遍历头尾,绝对值
16.16. 部分排序
面试题 16.16. 部分排序 https://leetcode-cn.com/problems/sub-sort-lcci/ 思路: 从左往右遍历,寻找当前遍历过的数中最大的值,并与当前值比较,如果
75. 颜色分类
颜色分类 https://leetcode-cn.com/problems/sort-colors/ 思路:3指针 l,r,index 按照index遍历,遇到2和r交换,遇到0和l交换,遇到1ind
java 动态数组
动态数组(Dynamic Array)接口设计int size(); // 元素的数量boolean isEmpty(); // 是否为空boolean contains(E element); //
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…
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…
下一页
个人成就
文章被点赞
144
文章被阅读
24,487
掘力值
1,353
关注了
122
关注者
5
收藏集
11
关注标签
28
加入于
2018-03-15