原文: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