Problems
Contest
Discuss
Interview
Online Interview
Assessment
Store
Redeem
Premium
For you
For you
Create
Most Votes
All Time
Newest
No search result
Create
Sum of given digit
Selvakumar Murugesan
117
/* Write a function that returns the sum of given digit
Example :
1879 => 1+8+7+9 = 25
1050 => 6
*/
0
1
Comments (1)
Sort by:
Best
Comment
1
Explore
Download App
Support
Terms
Privacy Policy
More
Copyright © 2026 LeetCode
United States