#mathematics
Read more stories on Hashnode
Articles with this tag
Using simulation class Solution: def passThePillow(self, n: int, time: int) -> int: person = 1 mod = 1 while time > 0: ...
class Solution: def numWaterBottles(self, numBottles: int, numExchange: int) -> int: rem = numBottles drunk = numBottles ...
class Solution: def countHomogenous(self, s: str) -> int: MOD = (10**9) + 7 homos = defaultdict(int) t = "" prev =...