/** * Definition for a binary tree node. * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * }; */#define ...
分类:
其他好文 时间:
2015-06-10 14:08:26
阅读次数:
100
题目:
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target,w...
分类:
其他好文 时间:
2015-06-06 14:59:04
阅读次数:
124
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2015-06-05 19:12:16
阅读次数:
155
1 class Solution { 2 public: 3 bool isNumber(string s) { 4 if(s == " ") return false; 5 int i = 0; 6 int j = s.size()-1; 7 while(s[i]...
分类:
其他好文 时间:
2015-05-20 17:56:04
阅读次数:
131
题目https://leetcode.com/problems/two-sum/Given an array of integers, find two numbers such that they add up to a specific target number.The function tw...
分类:
其他好文 时间:
2015-05-11 01:15:36
阅读次数:
177
感觉有必要重新刷刷题了,为以后找工作做做准备,选择LeetCode+topcoder上的Data Science Tutorials,争取每天晚上10:00开始刷一道,复习一下相关知识点。------------------------------------------------------.....
分类:
其他好文 时间:
2015-05-08 06:56:53
阅读次数:
115
描述 Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the tw...
分类:
其他好文 时间:
2015-04-08 21:19:04
阅读次数:
112
题目:
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the targ...
分类:
其他好文 时间:
2015-04-03 21:08:43
阅读次数:
158
题目:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two...
分类:
其他好文 时间:
2015-01-23 21:18:04
阅读次数:
239
不知不觉居然已经写了200多篇随笔了,现在查找的时候经常要翻好久,很不方便。故给自己做个目录~Leetcode1、动态规划Palindrome Partitioning II(hard) ☆Distinct Subsequences(hard)Edit Distance (hard)Interlea...
分类:
其他好文 时间:
2015-01-02 14:32:34
阅读次数:
183