Beta

Internal Scrambler

39nyi

Description:

The internal scrambler is a function which takes a string as an argument and randomly changes the order of its characters, except for the first and last character.

Example: CodeWars could become CeadroWs

Calling the function multiple times on the same string should result in different outputs. It is part of the challenge to think about good test cases.

Strings
Fundamentals

More By Author:

Check out these other kata created by nyi

Stats:

CreatedApr 21, 2016
PublishedApr 21, 2016
Warriors Trained67
Total Skips3
Total Code Submissions291
Total Times Completed39
Ruby Completions39
Total Stars2
% of votes with a positive feedback rating90% of 21
Total "Very Satisfied" Votes18
Total "Somewhat Satisfied" Votes2
Total "Not Satisfied" Votes1
Total Rank Assessments21
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • nyi Avatar
Ad