Talk:Look-and-say sequence: Difference between revisions

Content added Content deleted
Line 15: Line 15:


==Run-length Encoding==
==Run-length Encoding==
This task is actually identical to the [[Run-length_encoding]] task, applied iteratively to strings of digits. In fact, the easiest/best solution is simply to re-apply the RLE task here. I think this should be mentioned in the task description. As it is, some of the the code here is far more complicated than it needs to be, because the identity of the two tasks is not pointed out.
This task is actually identical to the [[Run-length_encoding]] task, applied iteratively to strings of digits. In fact, the easiest/best solution is simply to re-apply the RLE task here. I think this should be mentioned in the task description. As it is, some of the code here is far more complicated than it needs to be, because the identity of the two tasks is not pointed out.


I do think it's OK to keep this as a separate task, though, since the Conway sequence is definitely an interesting application of RLE in its own right. --[[User:Snoman|Snoman]] 20:20, 11 July 2010 (UTC)
I do think it's OK to keep this as a separate task, though, since the Conway sequence is definitely an interesting application of RLE in its own right. --[[User:Snoman|Snoman]] 20:20, 11 July 2010 (UTC)