Company: OAHelper Practice
Difficulty: easy
Sum of Digits Given a non-negative integer n , find the sum of its digits. Example Input: 123\nOutput: 6 Input: 9999\nOutput: 36 Constraints 0 <= n <= 10^9