Javascript Solution For LeetCode Problem: Sum Of Square Numbers
Solving Sum Of Square Numbers in Javascript. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.
Problem Description
Sum of Square Numbers: Given a non-negative integer c, your task is to decide whether there're two integers a and b such that a2 + b2 = c.
Examples
Example 1: Input: 5 Output: True Explanation: 1 * 1 + 2 * 2 = 5 Example 2: Input: 3 Output: False
See the full details of the problem Sum Of Square Numbers at LeetCode
Originally posted at: @github.com/ignacio-chiazzo/Algorithms-Leetcode-Javascript
Comments
Leave a comment
You are not LoggedIn but you can comment as an anonymous user which requires manual approval. For better experience please Login.