#two-pointers
Read more stories on Hashnode
Articles with this tag
class Solution: def maxArea(self, height: List[int]) -> int: x = 0 l = len(height) y = l - 1 maxWater = 0 ...
class Solution: def judgeSquareSum(self, c: int) -> bool: i = 0 j = int(math.sqrt(c)) while i <= j: z = (i **...