`all_straights`
HighDiceRoller opened this issue · 2 comments
HighDiceRoller commented
Need to determine whether the obvious algorithm (keep track of count
straights, end the shortest when necessary) works.
HighDiceRoller commented
Should the results be in descending order?
HighDiceRoller commented
Switched to descending sizes; this plays better with lexicographic ordering of tuples. E.g. previously
(1, 5) < (2, 2, 2)
but now
(5, 1) > (2, 2, 2)