Practice›LeetCode›LeetCode 08xxLeetCode 856: Score of ParenthesesA clear explanation of scoring a balanced parentheses string using depth counting.
Practice›LeetCode›LeetCode 03xxLeetCode 301: Remove Invalid ParenthesesA clear explanation of Remove Invalid Parentheses using BFS to guarantee the minimum number of removals.