Pergunta de entrevista da empresa Infogain (India)

2 easy coding question 1 hard coding question to solve in my IDE E.g. Count the repeating letters in a substring