Google Coding Interview Question and Answer #1: First Recurring Character