633. Sum of Square Numbers【Easy】【雙指針-是否存在兩個數的平方和等於給定目標值】...

Given a non-negative integer c, your task is to decide whether there're two integers a and bsuch that a2 + b2 = c. Example 1: Input: 5 Output: True Explanation: 1 * 1 + 2 * 2 = 5   Example 2: Input:
相關文章
相關標籤/搜索