Minimum Add to Make Parentheses Valid (LeetCode 921)
MediumLeetCode 921 · Parentheses & Matching · Google, Amazon +5 · 9:23Minimum Add to Make Parentheses Valid · Simple Intuition · Leetcode 921My notes
Sign in to keep private notes on every station, with video timestamps.
Pause here and write your approach in two lines. Compare it with MIK's when the video ends.
Sign in to write your approach →About this video
Video solution for LeetCode 921 Minimum Add to Make Parentheses Valid by codestorywithMIK: Stack, Medium. Topics: String, Stack, Greedy, Bracket Sequences. Watch the explanation, then check the code and solve it on LeetCode.
- Difficulty
- medium
- Topics
- String, Stack, Greedy, Bracket Sequences
- Patterns
- Parentheses & Matching
- Chapter
- Stack
- Duration
- 9:23
Related problems
- Valid Parentheses (LeetCode 20)
- Minimum Remove to Make Valid Parentheses (LeetCode 1249)
- Reverse Substrings Between Each Pair of Parentheses (LeetCode 1190)
- Minimum Deletions to Make String Balanced (LeetCode 1653)
- Minimum Number of Swaps to Make the String Balanced (LeetCode 1963)
- Check if a Parentheses String Can Be Valid (LeetCode 2116)
- Score of Parentheses (LeetCode 856)
- Maximum Nesting Depth of the Parentheses (LeetCode 1614)