6 kyu
Even Odd Pattern #1
318 of 735debri
Description:
Write a function that takes an array / list
of numbers and returns a number.
See the examples and try to guess the pattern:
(1, 2, 6, 1, 6, 3, 1, 9, 6) => 393
(1, 2, 3) => 5
(0, 2, 3) => 3
(1, 0, 3) => 3
(3, 2) => 6
Logic
Arrays
Mathematics
Puzzles
Similar Kata:
Stats:
Created | Jul 9, 2015 |
Published | Jul 9, 2015 |
Warriors Trained | 1948 |
Total Skips | 74 |
Total Code Submissions | 2965 |
Total Times Completed | 735 |
JavaScript Completions | 318 |
Ruby Completions | 68 |
Python Completions | 332 |
C Completions | 66 |
Total Stars | 40 |
% of votes with a positive feedback rating | 88% of 205 |
Total "Very Satisfied" Votes | 168 |
Total "Somewhat Satisfied" Votes | 26 |
Total "Not Satisfied" Votes | 11 |
Total Rank Assessments | 27 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |