How to split a string in balanced strings leetcode

preview_player
Показать описание
Balanced strings are those who have 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 splitted balanced strings.

Рекомендации по теме