Character with Longest Consecutive Repetition in Java · HackerTrans