in reply to Puzzle: need a more general algorithm
Three possibilities:
- More columns than categories
- Equal
- More categories than columns
In the third, just combine neighboring categories into a "super-category" and re-evaluate.
------
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.
In Section
Seekers of Perl Wisdom