Commit array of string anagram problem and string decode problem