[SUBS]RANK

Longest Substring with At Most K Distinct Characters | Programming Tutorials

PROGRAMMING TUTORIALS · SEP 03, 2022