#hash-table
Read more stories on Hashnode
Articles with this tag
class Solution: def minimumLength(self, s: str) -> int: c = Counter(s) def removals(n): if n >= 3: if...
class Solution: def replaceWords(self, dictionary: List[str], sentence: str) -> str: roots = set(dictionary) ans = "" ...
Using simple search class Solution: def isNStraightHand(self, hand: List[int], groupSize: int) -> bool: # Check if divisible if...