6 kyu

Srot the inner ctonnet in dsnnieedcg oredr

329 of 4,331user5036852

Description:

You have to sort the inner content of every word of a string in descending order.

The inner content is the content of a word without first and the last char.

Some examples:

"sort the inner content in descending order"  -->  "srot the inner ctonnet in dsnnieedcg oredr"
"wait for me"        -->  "wiat for me"
"this kata is easy"  -->  "tihs ktaa is esay"

Words are made up of lowercase letters.

The string will never be null and will never be empty. In C/C++ the string is always nul-terminated.

Have fun coding it and please don't forget to vote and rank this kata! :-)

I have also created other katas. Take a look if you enjoyed this kata!

Strings
Logic
Algorithms

Stats:

CreatedFeb 6, 2017
PublishedFeb 6, 2017
Warriors Trained10818
Total Skips2547
Total Code Submissions30229
Total Times Completed4331
C# Completions329
Python Completions1201
Ruby Completions228
JavaScript Completions1160
F# Completions76
TypeScript Completions282
CoffeeScript Completions18
Java Completions679
C Completions246
C++ Completions233
Clojure Completions56
COBOL Completions4
Crystal Completions6
Total Stars167
% of votes with a positive feedback rating92% of 944
Total "Very Satisfied" Votes809
Total "Somewhat Satisfied" Votes110
Total "Not Satisfied" Votes25
Total Rank Assessments11
Average Assessed Rank
6 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • user5036852 Avatar
  • GiacomoSorbi Avatar
  • anter69 Avatar
  • tachyonlabs Avatar
  • lilsweetcaligula Avatar
  • nomennescio Avatar
  • Voile Avatar
  • hobovsky Avatar
  • trashy_incel Avatar
  • akar-0 Avatar
Ad