Longest Happy String | Leetcode 1405