Draft

Look and Say. How was it?

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

More By Author:

Check out these other kata created by nongrs

Stats:

CreatedMar 12, 2016
Warriors Trained94
Total Skips14
Total Code Submissions50
Total Times Completed21
C# Completions21
Total Stars0
% of votes with a positive feedback rating82% of 17
Total "Very Satisfied" Votes12
Total "Somewhat Satisfied" Votes4
Total "Not Satisfied" Votes1
Total Rank Assessments14
Average Assessed Rank
6 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • nongrs Avatar
  • myjinxin2015 Avatar
Ad