1933. Check if String Is Decomposable Into Value-Equal Substrings
Description
**Input:** s = "000111000"
**Output:** false
**Explanation:** s cannot be decomposed according to the rules because ["000", "111", "000"] does not have a substring of length 2.**Input:** s = "00011111222"
**Output:** true
**Explanation:** s can be decomposed into ["000", "111", "11", "222"].ac
Last updated