Leetcode Find The Longest Substring With At Most K