383. 赎金信 golang byte和rune的区别
Me func canConstruct(ransomNote string, magazine string) bool { if len(ransomNote) == 0 && len(magazine) == 0 || len(ransomNote) == 0 { return true } if len(magazine) == 0 { return false } dict1 := make(map[rune]int, 0) dict2 := make(map[rune]int, 0) for _, v := range ransomNote {
暂无评论