Talk:Best shuffle: Difference between revisions

→‎Perl 6: new section
(→‎Best?: has extra meaning.)
(→‎Perl 6: new section)
Line 148:
 
:Best is strictly defined in the task as being (one of) the shuffles that give the minimum of characters in the same place. In terms of implementations, an implementation that when run repeatadly can give a different member of the best shuffles is to be preferred. the word/term ''best'' has its meaning added to for the purposes of the task. --[[User:Paddy3118|Paddy3118]] 05:12, 15 October 2011 (UTC)
 
== Perl 6 ==
 
Perl 6 example is not correct for all words.
Sub best-shuffle for word 'aaaabbbbcccc' returns 'bbbcaaccaabc, 1', but exists better shuffle, for example 'bbbbccccaaaa'.
Anonymous user