Leetcode Find The Longest Substring With K