Pergunta de entrevista da empresa GammaStack

Q. Write a code to find first repeating character in a given string.