8 kyu
Removing Elements
29,936 of 82,315MorgzC41
Description:
Take an array and remove every second element from the array. Always keep the first element and start removing with the next element.
Example:
["Keep", "Remove", "Keep", "Remove", "Keep", ...]
--> ["Keep", "Keep", "Keep", ...]
None of the arrays will be empty, so you don't have to worry about that!
Lists
Arrays
Fundamentals
Similar Kata:
Stats:
Created | Jun 21, 2016 |
Published | Jun 21, 2016 |
Warriors Trained | 123401 |
Total Skips | 9054 |
Total Code Submissions | 210186 |
Total Times Completed | 82315 |
Python Completions | 29936 |
JavaScript Completions | 41404 |
Ruby Completions | 2004 |
C# Completions | 3257 |
Scala Completions | 545 |
PHP Completions | 1645 |
C Completions | 853 |
Rust Completions | 1333 |
Java Completions | 2737 |
COBOL Completions | 9 |
Haskell Completions | 68 |
BF Completions | 10 |
Total Stars | 829 |
% of votes with a positive feedback rating | 93% of 6142 |
Total "Very Satisfied" Votes | 5348 |
Total "Somewhat Satisfied" Votes | 708 |
Total "Not Satisfied" Votes | 86 |