Longest Substring Of One Repeating Character || LeetCode Weekly Contest 285 || Problem D