Character with Longest Consecutive Repetition in Java | Hacker News Reader