摘要:
题目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菌
阅读(126)
推荐(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菌
阅读(101)
推荐(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菌
阅读(630)
推荐(0)