Sponsored
Use these hints if you're stuck. Try solving on your own first.
How do you know if you are at the end of a consecutive group of characters?
Solve with full IDE support and test cases