Question d’entretien chez Google

Find bandwidth given 2 strings and 1 integer