Leetcode Longest Substring With Same Letters Different Spelling