Skip to content
Avio Lines
← Stack lineD10Stop 26 of 37

Minimum Number of Swaps to Make the String Balanced (LeetCode 1963)

MediumLeetCode 1963 · Parentheses & Matching · Google, Amazon +11 · 18:09Minimum Number of Swaps to Make the String Balanced · Reason · Leetcode 1963
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 1963 Minimum Number of Swaps to Make the String Balanced by codestorywithMIK: Stack, Medium. Topics: Two Pointers, String, Stack, Greedy. Watch the explanation, then check the code and solve it on LeetCode.

Difficulty
medium
Topics
Two Pointers, String, Stack, Greedy, Bracket Sequences
Patterns
Parentheses & Matching
Chapter
Stack
Duration
18:09