Pergunta de entrevista da empresa Yandex

leetcode (sliding window, tree, two pointers)