Sword 50
https://leetcode-cn.com/problems/di-yi-ge-zhi-chu-xian-yi-ci-de-zi-fu-lcof/
把出现过得所有字符都放在一个字典中,相当于 Counter
从头遍历若发现 Counter[i] == 1 返回
posted on 2021-02-28 15:21 FriskyPuppy 阅读(17) 评论(0) 编辑 收藏 举报
https://leetcode-cn.com/problems/di-yi-ge-zhi-chu-xian-yi-ci-de-zi-fu-lcof/
把出现过得所有字符都放在一个字典中,相当于 Counter
从头遍历若发现 Counter[i] == 1 返回
posted on 2021-02-28 15:21 FriskyPuppy 阅读(17) 评论(0) 编辑 收藏 举报