array help.
Tobias Pankrath via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jul 8 11:39:29 PDT 2014
On Tuesday, 8 July 2014 at 18:26:20 UTC, bearophile wrote:
> Tobias Pankrath:
>
>> Use std.algorithm.sort with a custom comparison function.
>
> It's a very nice example of learning algorithms and data
> fitting. I have shown an answer very fitted (perhaps
> over-fitted) on the given example.
I had your solution in mind, too, as a hint that the problem
might be underspecified.
> With just the given data there is no way to know how much
> general the problem is :-)
Yeah, but I hope at least he knows it.
More information about the Digitalmars-d-learn
mailing list