Search posts, tags, users, and pages
Tapan Rachchh
class Solution: def judgeSquareSum(self, c: int) -> bool: i = 0 j = int(math.sqrt(c)) while i <= j: z = (i ** 2) + (j ** 2) if z == c: return True elif z < c: ...
No responses yet.