可以使用这个进行map插入map.put(ch,map.getOrDefault(ch,0)+1); 将String换成Character可以节约空间,感谢,一起加油
点赞

相关推荐

vip牛牛:测试吧,开发现在至少212
点赞 评论 收藏
分享
牛客网
牛客企业服务