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
Similar Kata:
Stats:
Created | Mar 2, 2018 |
Published | Mar 2, 2018 |
Warriors Trained | 7355 |
Total Skips | 105 |
Total Code Submissions | 13217 |
Total Times Completed | 5164 |
JavaScript Completions | 3017 |
Ruby Completions | 203 |
Python Completions | 1551 |
Crystal Completions | 10 |
PHP Completions | 195 |
Java Completions | 316 |
Total Stars | 71 |
% of votes with a positive feedback rating | 92% of 832 |
Total "Very Satisfied" Votes | 713 |
Total "Somewhat Satisfied" Votes | 100 |
Total "Not Satisfied" Votes | 19 |
Total Rank Assessments | 10 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 8 kyu |