Altimetrik Interview Question

Find out the first repeatative character in a string