bars
π
365 Days Coding Challenge
search
circle-xmark
β
Ctrl
k
copy
Copy
chevron-down
Week 2
#8 - Sum of Elements in the Array
hashtag
Example 1
hashtag
Input:
arr = [12, 5, 8, 23, 17, 9]
hashtag
Output:
Sum = 64
hashtag
Example 2
hashtag
Input:
arr = [12, -1 , 10]
hashtag
Output:
Sum = 21
Previous
Week 2
chevron-left
Next
#9 - Large Element in the array
chevron-right
Last updated
2 years ago
Example 1
Example 2
sun-bright
desktop
moon
sun-bright
desktop
moon