会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Stoves
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2018年6月1日
LeetCode-638.大礼包
摘要: 水题,递归。 直接给出代码。
阅读全文
posted @ 2018-06-01 19:22 Stoves
阅读(320)
评论(0)
推荐(0)
2017年11月30日
724. Find Pivot Index
摘要: Given an array of integers nums, write a method that returns the "pivot" index of this array. We define the pivot index as the index where the sum of
阅读全文
posted @ 2017-11-30 22:57 Stoves
阅读(242)
评论(0)
推荐(0)
My Calendar I
摘要: 题目大意是实现一个类来管理图书,类的每个实例包含图书的start跟end属性(start<= x < end),确保每个实例的两个属性没有重叠范围。 很容易想到二叉排序树,将每个实例看成一个结点,有三种情况: 1.新插入结点的start大于P结点的end,则将新插入结点插入到P结点的右子树,P =
阅读全文
posted @ 2017-11-30 21:18 Stoves
阅读(255)
评论(0)
推荐(0)
上一页
1
2
公告