You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2><ahref="https://leetcode.com/problems/check-divisibility-by-digit-sum-and-product">3918. Check Divisibility by Digit Sum and Product</a></h2><h3>Easy</h3><hr><p>You are given a positive integer <code>n</code>. Determine whether <code>n</code> is divisible by the <strong>sum </strong>of the following two values:</p>
2
+
3
+
<ul>
4
+
<li>
5
+
<p>The <strong>digit sum</strong> of <code>n</code> (the sum of its digits).</p>
6
+
</li>
7
+
<li>
8
+
<p>The <strong>digit</strong> <strong>product</strong> of <code>n</code> (the product of its digits).</p>
9
+
</li>
10
+
</ul>
11
+
12
+
<p>Return <code>true</code> if <code>n</code> is divisible by this sum; otherwise, return <code>false</code>.</p>
0 commit comments