1# Runtime: 55 ms (Top 32.02%) | Memory: 13.9 MB (Top 67.72%)2class Solution:3 def rearrangeCharacters(self, s: str, target: str) -> int:4 counter_s = Counter(s)5 return min(counter_s[c] // count for c, count in Counter(target).items())
WPM •0 •0
ACC •0 •0
TIME •0