LeetCode
gutongabc
这个作者很懒,什么都没留下…
展开
-
第一篇序言
这个分类记录LeetCode上面的题目,每道题我都会记录下ac通过的源代码,精彩的题目我还会附上其他解法,供大家学习,参考。原创 2015-11-17 10:06:56 · 306 阅读 · 0 评论 -
LeetCode第一题Two Sum
好了,今天给大家介绍的是LeetCode上面的第一道题,原题链接为https://leetcode.com/problems/two-sum/,别小看这一题哦,他后来会演化出threesum,foursum等问题,接下来就为大家介绍解法。 题目如下: Given an array of integers, find two numbers such that they add原创 2015-11-19 22:28:16 · 277 阅读 · 0 评论