摘要:
https://leetcode.com/problems/two-sum/class Solution {public: vector twoSum(vector& nums, int target) { vector index(2,0); vector n2;... 阅读全文
posted @ 2015-08-25 18:12
雪溯
阅读(137)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/length-of-last-word/int lengthOfLastWord(char* s) { int ans = 0; int fans = 0; for(int i = 0;s[i];i++){ ... 阅读全文
posted @ 2015-08-25 16:48
雪溯
阅读(106)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/excel-sheet-column-number/class Solution {public: int titleToNumber(string s) { int ans = 0; for(int i ... 阅读全文
posted @ 2015-08-25 16:40
雪溯
阅读(113)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/min-stack/#include #include #include #include using namespace std;class MinStack {public: vector vec; priority_que... 阅读全文
posted @ 2015-08-25 16:25
雪溯
阅读(194)
评论(0)
推荐(0)

浙公网安备 33010602011771号