6 kyu
Shorten Me: Array Declaration X (O-I-II)
Description:
Shorten Me: Array Declaration X (O-I-II)
Task
You have to write an array()
function returning an array object with elements as follow:
[ 1, 0, 2, 2, 1, 0, 1,
2, 2, 2, 2, 0, 2, 0,
1, 2, 0, 2, 0, 0, 2,
0, 2, 1, 1, 1, 0, 0 ]
Coding Limitation:
Less than 55
characters
|||| |---|---:| |Previous: Part IX (Variable Types)|Next: Part XI (Triangle)|
Shorten Me: Array Declaration Series |
Puzzles
Restricted
Similar Kata:
Stats:
Created | Jan 9, 2018 |
Published | Jan 9, 2018 |
Warriors Trained | 135 |
Total Skips | 0 |
Total Code Submissions | 323 |
Total Times Completed | 70 |
JavaScript Completions | 70 |
Total Stars | 5 |
% of votes with a positive feedback rating | 93% of 35 |
Total "Very Satisfied" Votes | 30 |
Total "Somewhat Satisfied" Votes | 5 |
Total "Not Satisfied" Votes | 0 |
Total Rank Assessments | 5 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |