leetcode594+最长和谐子序列,使用map进行hash统计

NoSuchKey