minus-squareTostiHawaii@feddit.nltoAdvent Of Code@programming.dev•[2023 Day 7] Part 2 poorly specifiedlinkfedilinkarrow-up8·1 year agoFor part 2, the only thing that I missed at first was the JJJJJ edge case. My approach was: count the amount of jokers remove them from the hand count the rest add the amount of jokers to the biggest set in the hand Last step fails if there are no other cards left after you remove the jokers… linkfedilink
For part 2, the only thing that I missed at first was the JJJJJ edge case. My approach was:
Last step fails if there are no other cards left after you remove the jokers…