Leetcode 481. Magical String | Hello Interview