
LeetCode
文章平均质量分 85
uilotus
这个作者很懒,什么都没留下…
展开
-
LeetCode——01 Two Sum
Two Sum Total Accepted: 23868 Total Submissions: 130908My Submissions Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum原创 2014-07-06 22:27:35 · 644 阅读 · 0 评论 -
LeetCode -- Reverse Words in a String
Reverse Words in a String Total Accepted: 30421 Total Submissions: 215668My Submissions Given an input string, reverse the string word by word. For example, Given s = "the sky is blue",原创 2014-09-05 20:06:42 · 594 阅读 · 0 评论 -
LeetCode -- Evaluate Reverse Polish Notation
题目如下:原创 2014-09-05 20:30:47 · 588 阅读 · 0 评论 -
LeetCode -- Max Points on a Line
题目如下: Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.原创 2014-09-06 10:36:20 · 687 阅读 · 0 评论 -
LeetCode -- Sort List
题目描述如下: Sort a linked list in O(n log n) time using constant space complexity. ---------------------------------------------------------------------------------------- 题目咋一看似乎很简单,只是给一个链表排序,但是要求原创 2014-09-06 14:46:16 · 599 阅读 · 0 评论