633. Sum of Square Numbers
Given a non-negative integer c, decide whether there’re two integers a and b such that a2 + b2 = c.Example 1: Input: c = 5 Output: true Explanation: […]
Given a non-negative integer c, decide whether there’re two integers a and b such that a2 + b2 = c.Example 1: Input: c = 5 Output: true Explanation: […]
Given a sorted integer array nums and an integer n, add/patch elements to the array such that any number in the range [1, n] inclusive