https://devopsinvent.com/google-coding-interview-question-and-answer-1-first-recurring-character/