1. Remove Invalid Parentheseshistorical

    Given a string s containing parentheses and letters, remove the minimum number of invalid parentheses to make the input string valid.

  2. Generate Parentheseshistorical

    The number n represents the number of pairs of parentheses. Design a function that can generate all possible valid combinations of parentheses.