问题: Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have ...
分类:
其他好文 时间:
2016-09-22 01:07:19
阅读次数:
169
Design and implement a TwoSum class. It should support the following operations: add and find. add - Add the number to an internal data structure.find ...
分类:
其他好文 时间:
2016-09-21 14:35:19
阅读次数:
115
Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function ...
分类:
其他好文 时间:
2016-09-19 06:38:25
阅读次数:
89
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 n ...
分类:
其他好文 时间:
2016-09-18 07:49:14
阅读次数:
183
以下是这段时间抽时间刷的前5题,都是自己想的解法,或许不是最优解,只是整理下,方便日后优化提升 1. Two Sum: 2. Add Two Numbers: 3. Longest Substring Without Repeating Characters: 4. Median of Two So ...
分类:
其他好文 时间:
2016-09-12 23:49:33
阅读次数:
224
Design and implement a TwoSum class. It should support the following operations: add and find. add - Add the number to an internal data structure. fin ...
分类:
其他好文 时间:
2016-09-10 06:42:48
阅读次数:
158
开始刷 letcode, 简单笔记下自己的答案, 目标十一结束之前搞定所有题目. 1. Two Sum. ...
分类:
编程语言 时间:
2016-09-08 00:37:45
阅读次数:
416
Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function ...
分类:
其他好文 时间:
2016-09-04 19:25:37
阅读次数:
194