MITRE Interview Question

Find the first duplicated character in a string.