Check Even Partitioning Get link Facebook X Pinterest Email Other Apps - July 27, 2020 Level EASYGiven a number n, check whether the number can be the sum of two even numbers or not. Return true if it can be, return false otherwise.Constraints :** 1 <= n <= 100000**Input Format : Integer nOutput Format : YES or NOSample Input 1 :8 Sample Output 1 :YES Sample Input 2 :9 Sample Output2 :NO Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment
Please give us your valuable feedback