{"id":"zero-element-skipped-in-digit-sum","text":"A `0` element contributes nothing to `digit_sum` because the `while num > 0` loop body never executes for zero — correct under the LeetCode constraint `nums[i] >= 1` but would silently drop zeros if the constraint were relaxed.","truth_value":"IN","source":"entries/2026/06/06/difference-between-element-sum-and-digit-sum-of-an-array-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":["digit-operations-handle-all-nonneg-inputs"],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"zero-element-skipped-in-digit-sum","truth_value":"IN","reason":"premise"}]}}