Question d’entretien chez FactSet

Some two-pointer substring problem on Hackerrank