摘要:
liner:班轮 阅读全文
摘要:
需要记住的单词: pirate:海盗 crunch:咬碎 阅读全文
摘要:
记住的单词: armour:盔甲 knight:骑士 adore:崇拜 dribbler:运动前行的人 skinny:瘦小的 rough diamond: someone who is very good or nice, even though they don't look that way 阅读全文
摘要:
1.The /id/ sound is the simple past ending for verbs that end in /t/ or /d/ sounds: decided waited wanted competed started restarted 2.The /t/ sound i 阅读全文
摘要:
记住的单词: nasty:令人不愉快的,下流的 plaster:石膏 aspirin:阿司匹林 阅读全文
摘要:
题目大意: 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, 阅读全文
摘要:
题目链接:https://leetcode.com/problems/h-index/ 题目大意:其实就是求最大的h,能够保证研究员的h篇paper,每篇至少都有h篇引用,要求最大的h 解析: 比较容易想到的就是先对paper按照引用数进行递减排序 首先设定h = 0, 如果当前paper的引用数> 阅读全文
摘要:
记住的单词: eavesdrop:偷听,窃听 ing和ed的区别 The main difference is that –ing adjectives are usually used to talk about the person, place or thing that is making 阅读全文
摘要:
题目链接:https://leetcode.com/problems/valid-anagram/ 题目大意:就是判断两个字符串是否由相同的字符组成(字符个数也要相同) 1)排序方法 将字符串进行排序以后,如果想等,即可 代码如下: 2)hash方法 先统计第一个字符串中各个字符出现的次数,然后再遍 阅读全文
摘要:
题目链接:https://leetcode.com/problems/intersection-of-two-arrays/ 题目大意:要求两个数组的交集(注意集合是不能含有重复的元素的) 方法1) 先对两个数组进行排序,设置两个指针pA和pB,分别指向这两个数组,比较nums1[pA]和nums[ 阅读全文