6 kyu
Reverse every other word in the string
5,707 of 11,338Confettimaker
Description:
Reverse every other word in a given string, then return the string. Throw away any leading or trailing whitespace, while ensuring there is exactly one space between each word. Punctuation marks should be treated as if they are a part of the word in this kata.
Arrays
Fundamentals
Similar Kata:
Stats:
Created | Mar 26, 2017 |
Published | Mar 26, 2017 |
Warriors Trained | 17020 |
Total Skips | 1489 |
Total Code Submissions | 65413 |
Total Times Completed | 11338 |
JavaScript Completions | 5707 |
Python Completions | 4477 |
Crystal Completions | 17 |
Ruby Completions | 582 |
Haskell Completions | 159 |
Scala Completions | 172 |
PHP Completions | 384 |
C Completions | 51 |
Total Stars | 197 |
% of votes with a positive feedback rating | 93% of 1533 |
Total "Very Satisfied" Votes | 1338 |
Total "Somewhat Satisfied" Votes | 167 |
Total "Not Satisfied" Votes | 28 |
Total Rank Assessments | 103 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 8 kyu |