0340: Longest Substring with At Most K Distinct Characters

Problem Statement