Domanda di colloquio di GammaStack

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