GammaStack Interview Question

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