特牛网址导航

leetcode--Generate Parentheses-CSDN博客

网友收藏
文章浏览阅读96次。Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"((()))", "(()())", "(())()", "()(())", "()(...