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

Stats:

CreatedMar 26, 2017
PublishedMar 26, 2017
Warriors Trained17020
Total Skips1489
Total Code Submissions65413
Total Times Completed11338
JavaScript Completions5707
Python Completions4477
Crystal Completions17
Ruby Completions582
Haskell Completions159
Scala Completions172
PHP Completions384
C Completions51
Total Stars197
% of votes with a positive feedback rating93% of 1533
Total "Very Satisfied" Votes1338
Total "Somewhat Satisfied" Votes167
Total "Not Satisfied" Votes28
Total Rank Assessments103
Average Assessed Rank
6 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • Confettimaker Avatar
  • phaul Avatar
  • GiacomoSorbi Avatar
  • seasidetesting Avatar
  • JohanWiltink Avatar
  • rowcased Avatar
  • hobovsky Avatar
  • cliffstamp Avatar
  • agutierrez-datio Avatar
  • trashy_incel Avatar
  • user8436785 Avatar
  • WestwardLand968 Avatar
  • ejini战神 Avatar
  • Wei-Ting Yang Avatar
  • KayleighWasTaken Avatar
  • saudiGuy Avatar
Ad