Longest Substring with K Distinct Characters

medium
Last edited: August 2, 2025