Leetcode 3622. Check Divisibility by Digit Sum and Product
Given a positive integer n, compute the sum and the product of its decimal digits, add those two values, and return whether n is divisible by that total. Constraint: 1 ≤ n ≤ 10^6.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.