Sliding window. Cool. pretty easy
Here is my solution: https://github.com/JSerZANP/leetCode_...
Hi I'm a JavaScript engineer who is not good at algorithms,
and currently practicing leetCode online. If you are interested, maybe we can learn together.
On this page of the site you can watch the video online LeetCode 340.Longest Substring with At Most K Distinct Characters | JSer - JavaScript & Algorithm with a duration of hours minute second in good quality, which was uploaded by the user JSer 16 May 2020, share the link with friends and acquaintances, this video has already been watched 323 times on youtube and it was liked by 5 viewers. Enjoy your viewing!