AoC# 2024 - Day 7: Bridge Repair

less than 1 minute read

It’s Advent of Code time 🎄

Advent of Code is an Advent calendar of small programming puzzles for a variety of skill levels that can be solved in any programming language you like.

Day 7 looked straightforward… 😅

Part 1 ⭐️

.. but when it came to writing the logic to keep track of the result of the combinations of the 2 different operators, I had a feeling that recursion might be needed.

Part 2 ⭐️

Adding an additional operator to Part 1 was a one-liner alteration. Very satisfying 🤓

Updated: