Question d’entretien chez IBM

I was asked a question on text algorithm