By the way, $columns = 2 gives:
best result: 0 3 4 1 5 2
$columns = 4 gives:
best result: 0 1 2 3 4 5
In reply to Re: Re: Puzzle: need a more general algorithm
by fglock
in thread Puzzle: need a more general algorithm
by Ovid
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |