1class Solution:2 def repeatedCharacter(self, s: str) -> str:3 occurences = defaultdict(int)4 for char in s:5 occurences[char] += 16 if occurences[char] == 2:7 return char
WPM •0 •0
ACC •0 •0
TIME •0