2014年11月26日

摘要: Evaluate Reverse Polish NotationEvaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand... 阅读全文
posted @ 2014-11-26 20:38 Yu's Garden 阅读(434) 评论(0) 推荐(0) 编辑
摘要: Max Points on a LineGiven n points on a 2D plane, find the maximum number of points that lie on the same straight line.SOLUTION 1:全部的点扫一次,然后计算每一个点与其它点... 阅读全文
posted @ 2014-11-26 19:45 Yu's Garden 阅读(677) 评论(0) 推荐(0) 编辑

导航