Draft
Look and Say. How was it?
21nongrs
Description:
The Look-and-say sequence, looks like this:
11, 21, 1211, 111221, ...
Here the following number is always the "description" of the previous, that is:
"11" is the previous number of "21" because "11" has "two" "ones"
"21" is the previous number of "1211" because "21" has "one" "two" and "one" "one"
The task for this Kata is given a number (n >= 10) return the "previous" number in the sequence. Here you can assume that the quantity indicator is always one digit.
The result is returned as a string.
Fundamentals
Algorithms
Similar Kata:
Stats:
Created | Mar 12, 2016 |
Warriors Trained | 94 |
Total Skips | 14 |
Total Code Submissions | 50 |
Total Times Completed | 21 |
C# Completions | 21 |
Total Stars | 0 |
% of votes with a positive feedback rating | 82% of 17 |
Total "Very Satisfied" Votes | 12 |
Total "Somewhat Satisfied" Votes | 4 |
Total "Not Satisfied" Votes | 1 |
Total Rank Assessments | 14 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 8 kyu |