Leetcode
美国队长
专注于工业互联网领域,擅长企业级工业互联网平台架构及落地。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode Max Points on a Line
/** * Definition for a point. * class Point { * int x; * int y; * Point() { x = 0; y = 0; } * Point(int a, int b) { x = a; y = b; } * } */ public class Solution {原创 2014-05-15 18:00:27 · 874 阅读 · 0 评论 -
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"原创 2014-05-15 17:50:21 · 637 阅读 · 0 评论 -
Leetcode Sort List
题目:Sort a linked list in O(n log n) time using constant space complexity. 答案,源代码:原创 2014-05-15 17:36:53 · 707 阅读 · 0 评论 -
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: ["原创 2014-05-15 17:55:10 · 722 阅读 · 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".原创 2014-05-15 17:44:23 · 760 阅读 · 0 评论
分享