Leetcode Longest Substring With Same Letters Different Order