Longest Substring with At Most K Distinct Characters SQL Insights | Topfolio