Happy Coding

This blog is for my memorandum about programming and English.

Happy Coding

This blog is for my memorandum

Entries from 2017-01-05 to 1 day

340. Longest Substring with At Most K Distinct Characters (Leet Code, Google)

https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters/ problems Given a string, find the length of the longest substring T that contains at most k distinct characters. For example, Given s = “eceba” and k = 2, …