Here is the link to the LeetCode problem Split a String in Balanced Strings - LeetCode
Balanced strings are those that have an equal quantity of 'L' and 'R' characters. Given a balanced string s, split it…leetcode.com Balanced strings are those that have an equal quantity of ‘L’ and ‘R’ characters. Given a balanced string s, split it in the maximum amount of balanced strings. Return the maximum amount of split balanced strings.