- 博客(3)
- 收藏
- 关注
原创 3Sum -Leetcode
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 contain
2017-10-15 22:18:09 212
原创 Substring with Concatenation of All Words-Leetcode
You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a concatenation of each word in words exactly once and
2017-10-15 21:53:45 185
原创 Leetcode-3Sum Closest
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 exactly
2017-10-02 00:27:47 207
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人