2 ms·
This is good, but it bugs me that the "perfectly ordered" calendar doesn't have the worst score. Maybe consider the calendars tiled on an infinite grid? That wa
by StavrosK 8y ago
This is good, but it bugs me that the "perfectly ordered" calendar doesn't have the worst score. Maybe consider the calendars tiled on an infinite grid? That way 5 will be one right and one down from 4, instead of four left and one down. Maybe even shift the next line up, so 4 is next to 5...
- jffry 8y agoI'll toss my hat in the ring for maximizing the measure instead of minimizing it "Cortex" [[ 6 7 10 11 23 24] [ 5 8 9 12 22 21] [ 4 3 13 16 17 20] [ 1 2 14 15 18 19]] 529.6200384399018 The path traced from 1-24 is rotationally symmetric and folds up in on itself sort of like a Hilbert curve. And now I'm curious how this problem might look for other MxN aside from 6x4
- StavrosK 8y agoI think you nailed it, it seems to me that a Hilbert curve will always have the maximal score.