@ -33,11 +33,10 @@ module PartTwo
else
counts[-1] += jokers
end
strengths = [
[
HAND_STRENGTH.fetch(counts),
*cards.map { CARD_STRENGTH.fetch(_1) },
]
strengths.map { (?a.ord + _1).chr }.join