in reply to Re: Puzzle: need a more general algorithm
in thread Puzzle: need a more general algorithm

You missed a constraint - the ordering of the categories must be preserved.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

  • Comment on Re2: Puzzle: need a more general algorithm