Pergunta de entrevista da empresa MixerBox

Substring question Using window can solve this question