LeetCode
bluegreen315
这个作者很懒,什么都没留下…
展开
-
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-08-23 11:05:19 · 422 阅读 · 0 评论 -
Reserve Words in a String
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".Clarification:What constitutes a word?A sequence of non-sp原创 2014-08-22 21:55:16 · 411 阅读 · 0 评论 -
Evaluate Reverse Polish Notation
Evaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be an integer or another expression.Some examples: ["2", "1",原创 2014-08-23 10:46:18 · 412 阅读 · 0 评论 -
Sort List
Sort a linked list in O(n log n) time using constant space complexity.在O(原创 2014-08-23 11:41:25 · 392 阅读 · 0 评论 -
leetCode
前几天做了 Google APAC 2015 University Graduates Test,被狠狠地虐了,原创 2014-08-22 21:34:30 · 367 阅读 · 0 评论 -
Insertion Sort List
Sort a linked list using insertion sort.发原创 2014-08-23 14:51:42 · 456 阅读 · 0 评论