摘要:
思路:查表法,首先建立字典,遍历字符串判断字典中的值是否为1,若为1,则返回。 Python: class Solution: def firstUniqChar(self, s: str) -> str: if not s: return ' ' from collections import C 阅读全文
posted @ 2022-04-18 22:27
catch(...)
阅读(16)
评论(0)
推荐(0)
浙公网安备 33010602011771号