Skip to content
Avio Lines
← Greedy lineD20Stop 70 of 76

Minimum Insertions to Balance a Parentheses String (LeetCode 1541)

MediumLeetCode 1541 · Greedy on Strings & Counting · Google, Amazon +1 · 16:09Minimum Insertions to Balance a Parentheses String · Simple Intuition · Leetcode 1541
MIK's code LeetCode ↗ YouTube ↗

My notes

Sign in to keep private notes on every station, with video timestamps.

Try it before watching

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 1541 Minimum Insertions to Balance a Parentheses String by codestorywithMIK: Greedy, 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
Greedy on Strings & Counting
Chapter
Greedy
Duration
16:09