会员
商店
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Jianchao's Blog
博客园
首页
新随笔
联系
订阅
管理
随笔 - 290
文章 - 0
评论 - 7
阅读 -
21万
08 2016 档案
[LeetCode] Ransom Note
摘要:A very typical application of hash maps. Since I am now learning Java, I code in Java. The following code uses toCharArray() and getOrDefault(), which
阅读全文
posted @
2016-08-14 21:57
jianchao-li
阅读(517)
评论(0)
推荐(0)
编辑
公告
昵称:
jianchao-li
园龄:
9年9个月
粉丝:
14
关注:
1
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
随笔分类
Algorithms(10)
HackerRank Solutions(1)
hihoCoder Solutions(5)
LeetCode Solutions(234)
LintCode Solutions(35)
POJ Solutions(1)
UVa OJ Solutions(1)
随笔档案
2016年9月(1)
2016年8月(1)
2015年12月(1)
2015年11月(8)
2015年10月(12)
2015年9月(20)
2015年8月(60)
2015年7月(68)
2015年6月(119)
阅读排行榜
1. [LeetCode] Alien Dictionary(15833)
2. [LeetCode] Number of Islands II(7299)
3. [LeetCode] Flip Game II(6528)
4. [LeetCode] Flip Game(6198)
5. [LeetCode] 3Sum Smaller(5078)
评论排行榜
1. [LeetCode] Alien Dictionary(3)
2. [LeetCode] Longest Increasing Subsequence(1)
3. [LeetCode] Meeting Rooms II(1)
4. [LintCode] 第k大元素(1)
5. [LeetCode] 4Sum(1)
推荐排行榜
1. [LeetCode] Best Meeting Point(1)
2. [LeetCode] Walls and Gates(1)
3. [LeetCode] Paint Fence(1)
4. [LeetCode] Graph Valid Tree(1)
5. [LintCode] 最小路径和(1)
最新评论
1. Re:[LeetCode] Longest Increasing Subsequence
i am having problem in 1 class Solution { 2 public: 3 int lengthOfLIS(vector<int>& nums) part of thi...
--Anukul
2. Re:[LintCode] 第k大元素
这个时间复杂度, 真的是O(N) 么.
--jumpchess
3. Re:[LeetCode] 4Sum
Hi JianchaoMay I ask why you have "(int)nums.size() - 3" here?If I don't add it, it causes runtime e...
--intaglio
4. Re:[LeetCode] Meeting Rooms II
You can just use: vector<int> rooms;because you only need to store the end time of each room and upd...
--ztchf
5. Re:[LeetCode] Alien Dictionary
@ jcliBloggerThanks~...
--flexwang
点击右上角即可分享