MCPcopy Create free account
hub / github.com/aylei/leetcode-rust / Solution

Class Solution

src/solution/s0301_remove_invalid_parentheses.rs:29–29  ·  view source on GitHub ↗

* [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 ). * * Example 1: * * * Input: "()())()" * Output: ["()()()", "(())()"] * * * Example 2: * * * Input: "(a)())()" * Output: ["(a)()()", "(a())()"]

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected