I have this problem that I don't have the smallest idea on how to approach. Imagine that you have the following string "aabccccdeddaaa". The program needs to return the most repeated consecutive character, and how many times it's repeated, one might think that it's "a" because it repeats 5 times in the string, but that's not what I'm looking for. The correct answer for my problem is "c" because even though it just repeats 4 times, it does repeat those 4 times consecutively, while "a" repeats only 3 times consecutively.
Not looking for the solution though, only for some guidance on how to start.