#sliding-window
Read more stories on Hashnode
Articles with this tag
class Solution: def equalSubstring(self, s: str, t: str, maxCost: int) -> int: diff = [] for i, e in enumerate(s): ...