Qualtrics Interview Question

Return the first duplicated letter in a string