
leetcode
文章平均质量分 75
会敲代码的喵
热衷于创造的程序猿
展开
-
LeetCode---3.Max Points on a Line
#ifndef MAXPOINTONLINE_H_ #define MAXPOINTONLINE_H_ #include "header.h" #pragma once const double INF = 210000000; struct Point { int x; int y; Point() : x(0), y(0) {} Point(int a, int b) : x(原创 2014-09-05 09:04:49 · 802 阅读 · 0 评论 -
LeetCode---1.Reverse Words in a String
题目链接:https://oj.leetcode.com/problems/reverse-words-in-a-string/ 解题思路:以空格为分隔符提取出每一个单词后原创 2014-09-05 09:12:16 · 780 阅读 · 0 评论 -
LeetCode---2.Evaluate Reverse Polish Notation
题目链接:https://oj.leetcode.com/problems/evaluate-reverse-polish-notation/ 解题思路:简单的后缀表达式运算,使用原创 2014-09-05 09:12:27 · 598 阅读 · 0 评论 -
LeetCode---4.Sort List
题目链接:https://oj.leetcode.com/problems/sort-list/ 解题思路: 因为是要求原创 2014-09-05 17:00:20 · 596 阅读 · 0 评论 -
LeetCode---5.Insertion Sort List
题目链接:https://oj.leetcode.com/problems/insertion-sort-list/ 解题思路:原创 2014-09-05 17:01:11 · 744 阅读 · 0 评论