7 kyu

Scrolling Text

3,017 of 5,164AndrasG

Description:

Let's create some scrolling text!

Your task is to complete the function which takes a string, and returns an array with all possible rotations of the given string, in uppercase.

Example

scrollingText("codewars") should return:

[ "CODEWARS",
  "ODEWARSC",
  "DEWARSCO",
  "EWARSCOD",
  "WARSCODE",
  "ARSCODEW"
  "RSCODEWA",
  "SCODEWAR" ]

Good luck!

Strings
Arrays
Fundamentals

More By Author:

Check out these other kata created by AndrasG

Stats:

CreatedMar 2, 2018
PublishedMar 2, 2018
Warriors Trained7355
Total Skips105
Total Code Submissions13217
Total Times Completed5164
JavaScript Completions3017
Ruby Completions203
Python Completions1551
Crystal Completions10
PHP Completions195
Java Completions316
Total Stars71
% of votes with a positive feedback rating92% of 832
Total "Very Satisfied" Votes713
Total "Somewhat Satisfied" Votes100
Total "Not Satisfied" Votes19
Total Rank Assessments10
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • AndrasG Avatar
  • Javatlacati Avatar
  • anter69 Avatar
  • 10XL Avatar
  • docgunthrop Avatar
  • adrian.eyre Avatar
  • Voile Avatar
  • eb110 Avatar
  • hobovsky Avatar
  • saudiGuy Avatar
Ad