Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updated readme of task 2180
  • Loading branch information
AryamanMishra authored Jun 8, 2022
commit 88354f270966da64a3cc3cef535ea8ebcbc653ae
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,21 @@ The **digit sum** of a positive integer is the sum of all its digits.

**Output:** 2

**Explanation:** The only integers less than or equal to 4 whose digit sums are even are 2 and 4.
**Explanation:**

The only integers less than or equal to 4 whose digit sums are even are 2 and 4.

**Example 2:**

**Input:** num = 30

**Output:** 14

**Explanation:** The 14 integers less than or equal to 30 whose digit sums are even are 2, 4, 6, 8, 11, 13, 15, 17, 19, 20, 22, 24, 26, and 28.
**Explanation:**

The 14 integers less than or equal to 30 whose digit sums are even are

2, 4, 6, 8, 11, 13, 15, 17, 19, 20, 22, 24, 26, and 28.

**Constraints:**

Expand Down