Tier 3 · Warlockreplace
Collapse The Runs
Squash every run of the same repeated character down to one of it.
Your pattern0 chars · par 9
//
Flags
Start typing — tests run as you go.0 of 4 visible tests passing
Test cases
aaabbbccc→ "abc"hello→ "helo"aa→ "a"abc→ "abc"
+ 3 hidden tests, checked when you submit. They are what stops a pattern that only fits the examples above.