Look and Say Sequence (Java)

Look and say sequence is the sequence of numbers generated from the previous number by reading off the digits of which the number consists.

So the first number is 1 then there is one "1". one 1 -> 11 Now use the number "11" and there are two 1s. two 1s -> 21 21: one 2 and one 1 -> 1211 1211: one 1, one 2 and two 1s ->

[...Continue reading Look and Say Sequence (Java)...]

Page 1 of 812345...Last »