Leetcode Find The Longest Substring Of A Characters