Thank you both, R. Miller and R.E. Boss, for bringing
to my attention the algorithm by Stephen Ostermiller
and its J code implementation by Mike Day. The
complete definition of mss is particularly useful,
Raul.
I remember noticing Mike Day's message when it
occurred in April, but I did not realize, when I took
on the Rosetta Code task, that it was the same basic
problem he has solved. Reading through the alternate
solution-approach is more interesting now that I've
applied myself to the problem, especially since it
gives an efficiency gain.
TBH
--
Tracy B. Harms
The advantages of executability and universality
found in programming languages can be effectively
combined, in a single coherent language, with the
advantages offered by mathematical notation.
Kenneth E. Iverson
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm