Math
2843. Count Symmetric Integers
Given low and high, a number x with 2n digits is symmetric if the sum of its first n digits equals the sum of its last n. Numbers with an odd digit count are never symmetric. Count the symmetric…
Loading…
Given low and high, a number x with 2n digits is symmetric if the sum of its first n digits equals the sum of its last n. Numbers with an odd digit count are never symmetric. Count the symmetric…
Loading…