leetcode-potd

1405. Longest Happy String

leetcode-potd

A string s is called happy if it satisfies the following conditions: s only contains the letters ‘a’, ‘b’, and ‘c’. s does not contain any of “aaa”, “bbb”, or “ccc” as a

Scroll to Top