摘要:
题目表述 Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 分析 暴力枚举法。两点决定一条直线, n 个点两两组合,可以得到 1/2n(n + 1) 阅读全文
摘要:
题目描述 Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, , , /. Each operand may be an integer or anothe 阅读全文