- 博客(4)
- 收藏
- 关注
原创 Leetcode10 threesumclosest
1、题目描述 Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have
2017-04-27 16:21:15 297
原创 LeetCode9 3Sum
1、题目描述 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: The solution set must not con
2017-04-15 21:35:31 291
原创 Leetcode8 Two sum
1、题目描述 Two SumGiven 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
2017-04-15 20:02:10 218
原创 LeetCode 7 ZigZag conversion
1、题目描述 The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)P A H N A P L
2017-04-06 16:55:19 222
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人