Скользящее окно Задания по этой теме: best-time-to-buy-and-sell-stock longest-substring-without-repeating-characters longest-repeating-character-replacement permutation-in-string minimum-window-substring sliding-window-maximum