leetcode C++
文章平均质量分 81
小宁同学
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode:3Sum, 3Sum Closest, 4Sum
3Sum 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: Elements in a t原创 2016-03-30 09:41:28 · 303 阅读 · 0 评论 -
从leetcode—Generate Parentheses看卡特兰数
Generate Parentheses Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: "((()))", "(()())", "原创 2016-04-06 10:11:48 · 538 阅读 · 0 评论
分享