摘要: 自己写的,哈希表,easy class Solution: def findTheDifference(self, s: str, t: str) -> str: # 创建一个空字典,用于存储字符出现的次数 mydict = {} # 遍历字符串s,统计每个字符出现的次数 for i in s: i 阅读全文
posted @ 2024-04-17 17:52 Junior_bond 阅读(11) 评论(0) 推荐(0)