7. Sum last two elements
You are not logged in.
Log in
Input
Goal output
Your output
❌
[4,4]
8
0
❌
[1,2,3]
5
0
❌
[7,7,7,7]
14
0
❌
[1,2,3,4,5]
9
0
✅
[0,0,0]
0
0
❌
[0,1,2]
3
0
❌
[2,1,0]
1
0
Some tests failed