7 kyu
Sum of a nested list
1,560 of 3,172kingcobra
Description:
Implement a function to calculate the sum of the numerical values in a nested list. For example :
sumNested([1, [2, [3, [4]]]]) => 10
Recursion
Lists
Algorithms
Fundamentals
Similar Kata:
Stats:
Created | Nov 22, 2017 |
Published | Nov 22, 2017 |
Warriors Trained | 4943 |
Total Skips | 56 |
Total Code Submissions | 9684 |
Total Times Completed | 3172 |
Python Completions | 1497 |
JavaScript Completions | 1560 |
Ruby Completions | 184 |
Crystal Completions | 16 |
Total Stars | 66 |
% of votes with a positive feedback rating | 92% of 505 |
Total "Very Satisfied" Votes | 437 |
Total "Somewhat Satisfied" Votes | 58 |
Total "Not Satisfied" Votes | 10 |
Total Rank Assessments | 3 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 7 kyu |