摘要: 题目描述 题目分析 其中 s.length < 25, 可以用枚举暴力来做 BFS一层一层枚举,这一层出现正确结果break 1 from collections import deque 2 3 class Solution: 4 def removeInvalidParentheses(self 阅读全文