Talk:Summarize and say sequence: Difference between revisions

Line 43:
::::: That would be a completely different algorithm. Furthermore, you should not want to find the sequence length for that task. --[[User:Rdm|Rdm]] 19:36, 25 August 2011 (UTC)
:::::: Er, don't take that example so literally. Suppose the question is, "of numbers 24132231 and 14233221, which has the longest sequence", for example (and no, don't take this example too literally, either. I'm just saying, only caching sorted string of each permutation has its problems.) --[[User:Ledrug|Ledrug]] 21:05, 25 August 2011 (UTC)
::::::: Ok... but as a general rule, overgeneralizing code can introduces complexity and inefficiency. --[[User:Rdm|Rdm]] 21:13, 25 August 2011 (UTC)
6,951

edits