LeetCode

Magical String

Click here for an explanation.