原文:301. Remove Invalid Parentheses

题目: Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results. Note: The input string may contain letters other than the parentheses and . E ...

2015-12-15 23:29 0 3069 推荐指数:

查看详情

Generate Parentheses

题意是要求生成匹配的括号结果。假如给定n = 3,需要生成3对括号的有效组合,即"((()))", "(()())", "(())()", "()(())", "()()()"。 ...

Sun Sep 09 21:59:00 CST 2012 0 3394
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM