小小程序媛  
得之坦然,失之淡然,顺其自然,争其必然

2015年11月30日

摘要: 题目Given an array containing n distinct numbers taken from 0, 1, 2, …, n, find the one that is missing from the array.For example, Given nums ... 阅读全文
posted @ 2015-11-30 13:46 Coding菌 阅读(120) 评论(0) 推荐(0) 编辑
 
摘要: 题目Follow up for H-Index: What if the citations array is sorted in ascending order? Could you optimize your algorithm?分析同LeetCode(274)H-Index第... 阅读全文
posted @ 2015-11-30 13:28 Coding菌 阅读(94) 评论(0) 推荐(0) 编辑
 
摘要: 题目Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher’s h-index... 阅读全文
posted @ 2015-11-30 13:22 Coding菌 阅读(613) 评论(0) 推荐(0) 编辑