档案日期2015的44

2015年11月2日 - 2015年11月8日

[LeetCode]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 ).

Examples:

"()())()" -> ["()()()", "(())()"]
"(a)())()" ...

继续阅读

每日归档

上周

下周

归档