[QUIZ] Panagrams (#86)

"Nasir Khan" <rubylearner@gmail.com> writes:

You may notice that I have tried both changing current value one at a time
and also accumulating changes in @nchar_cnt_arr and changing in one go. The
convergence has been elusive in either case.
One way for me is to start looking at other solutions (which I will
certainly do), but it would be a great help if someone points me towards a
flaw in this.

I'll look more at your code later, but have you tried different
initial sentence parts? Specifically, have your tried the initial
bits that others were posting over the weekend?

I found that my code was unable to converge (after four hours) if I began with:

  The program from martin@snowplow.org produced a sentence with

But when I switched to:

  Daniel Martin's sallowsgram program produced a sentence with

I then got convergence in less than ten seconds. Some initial
sequences are just impossible to complete.