(Yet another) solver for the Countdown numbers round
On the TV gameshow Countdown, there’s a round where six number cards are chosen, along with a target number. Contestants have to use some or all of the six numbers to construct an arithmetic expression which evaluates to the target number. Despite realising that I was not going to be the first person to think about this, I wanted to explore how you could write a computer solver.