Pregunta de entrevista de Yandex

Standard leetcode questions (substrings, map items in list)