LeetCode
文章平均质量分 74
Subly
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode 13. Roman to Integer -- Easy
Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. 实现罗马数字到阿拉伯数字的转换。原创 2016-03-30 19:50:17 · 525 阅读 · 0 评论 -
LeetCode 231. Power of Two --Easy
Given an integer, write a function to determine if it is a power of two.原创 2016-03-30 22:05:59 · 499 阅读 · 0 评论 -
LeetCode 15. 3Sum
此题的结题思想其实和TwoSum一样,当我们确定了第一个数字后,第二个和第三个数字就可以用TwoSum一样的解法求得。 唯一的区别是TwoSum这题只有唯一解,而 3Sum这题可能有多个相同的解,我们需要考虑怎么移除相同的解。原创 2017-02-06 13:50:18 · 520 阅读 · 0 评论 -
LeetCode Weekly Contest 82: Goat Latin
Goat LatinA sentence S is given, composed of words separated by spaces. Each word consists of lowercase and uppercase letters only.We would like to convert the sentence to “Goat Latin”原创 2018-05-01 00:34:29 · 519 阅读 · 0 评论 -
LeetCode Weekly Contest 82: Friends Of Appropriate Ages
Friends Of Appropriate AgesSome people will make friend requests. The list of their ages is given and ages[i] is the age of the ith person.原创 2018-05-01 00:36:40 · 549 阅读 · 0 评论 -
LeetCode Weekly Contest 82: Most Profit Assigning Work
Most Profit Assigning WorkWe have jobs: difficulty[i] is the difficulty of the ith job, and profit[i] is the profit of the ith job.原创 2018-05-01 15:05:54 · 630 阅读 · 0 评论
分享