Pergunta de entrevista da empresa Fidessa

Return index of first non-unique character in string.