22. Generate Parentheses
2016-02-24 20:59
281 查看
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:
"((()))", "(()())", "(())()", "()(())", "()()
For example, given n = 3, a solution set is:
"((()))", "(()())", "(())()", "()(())", "()()
相关文章推荐
- 欢迎使用CSDN-markdown编辑器
- C++11之lambda表达式
- JAVA内存溢出解析
- hdu 1890 splay树
- TV测试中的按键长按操作模拟
- 推荐系统
- hdu 1890 splay树
- StreamReader和StreamWriter(字符)
- 分享一个自己的 VS2010 C++配色方案 主题
- .NET笔试题集(五)
- TV测试中的按键长按操作模拟
- uboot的介绍
- https://projecteuler.net/problem=8
- 1039. Course List for Student (25)
- 235. Lowest Common Ancestor of a Binary Search Tree
- Excel宏-超链接常用脚本
- 阅读收藏夹
- 算法精讲学习笔记 链表
- Yii2-权限控制RBAC-应用篇(二)
- 【6-5】HBASE的Java接口