Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/randhir200/individual-sum-of-digit
You are given an arrayAofNintegers. You have to find the sum of the individual digit sum of all the elements in the array The digit sum here refers to the sum of digits, present in a given element Refer the sample I/O for better understanding, 12 -> 1 + 2 = 3 14 -> 1 + 4 = 5 16 -> 1 + 6 = 7 17 -> 1 + 7 = 8 29 -> 2 + 9 = 11 Therefore, the output is3 + 5 + 7 + 8 + 11 = 34.
https://github.com/randhir200/individual-sum-of-digit
Last synced: 1 day ago
JSON representation
You are given an arrayAofNintegers. You have to find the sum of the individual digit sum of all the elements in the array The digit sum here refers to the sum of digits, present in a given element Refer the sample I/O for better understanding, 12 -> 1 + 2 = 3 14 -> 1 + 4 = 5 16 -> 1 + 6 = 7 17 -> 1 + 7 = 8 29 -> 2 + 9 = 11 Therefore, the output is3 + 5 + 7 + 8 + 11 = 34.
- Host: GitHub
- URL: https://github.com/randhir200/individual-sum-of-digit
- Owner: Randhir200
- Created: 2022-04-17T17:11:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-17T17:41:54.000Z (over 2 years ago)
- Last Synced: 2024-11-06T03:46:59.399Z (about 2 months ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files: