摘要:
题目大意: Given an unsorted array nums, reorder it in-place such that nums[0] <= nums[1] >= nums[2] <= nums[3].... For example, given nums = [3, 5, 2, 1, 阅读全文
posted @ 2016-06-20 21:33
Shirley_ICT
阅读(111)
评论(0)
推荐(0)
摘要:
题目链接:https://leetcode.com/problems/h-index/ 题目大意:其实就是求最大的h,能够保证研究员的h篇paper,每篇至少都有h篇引用,要求最大的h 解析: 比较容易想到的就是先对paper按照引用数进行递减排序 首先设定h = 0, 如果当前paper的引用数> 阅读全文
posted @ 2016-06-20 21:29
Shirley_ICT
阅读(291)
评论(0)
推荐(0)
摘要:
记住的单词: eavesdrop:偷听,窃听 ing和ed的区别 The main difference is that –ing adjectives are usually used to talk about the person, place or thing that is making 阅读全文
posted @ 2016-06-20 12:44
Shirley_ICT
阅读(210)
评论(0)
推荐(0)

浙公网安备 33010602011771号