[LeetCode] Check if String Is Decomposable Into Value-Equal Substrings

1 · · May 14, 2024, 9:16 a.m.
Summary
1933. Check if String Is Decomposable Into Value-Equal Substrings A value-equal string is a string where all characters are the same. For example, "1111" and "33" are value-equal strings. In contrast, "123" is not a value-equal string. Given a digit string s``2``3. Return true if you can decompose s according to the above rules. Otherwise, return false. A substring is a contiguous sequence of characters in a string. ...