LeetCode
文章平均质量分 80
long280310
这个作者很懒,什么都没留下…
展开
-
【LeetCode】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-05-15 15:41:12 · 468 阅读 · 0 评论 -
【LeetCode】Reverse 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". click to show clarification. Clarification: What constitutes原创 2014-05-14 16:40:10 · 1121 阅读 · 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-08-05 16:59:15 · 455 阅读 · 0 评论