Leetcode 481 Magical String

NoSuchKey