• I feel like this is the best approach. Had to get the good old pen and paper out to figure it out.

    It took me 15 if statements, but I feel the code is concise enough
    https://github.com/basbakx/aoc2021/blob/master/day08/script.py

    Will be interesting to see if this puzzle leaves a lot of participants behind. I spent a lot more time on the bingo cards, but conceptually the segment displays are probably a lot harder.

  • Agree with the bingo being harder.

    Nice solution. Lesson for me is to spend more time thinking before putting pen to paper.

    I am enjoying the scala data gymnastics 😁 mapping, filtering and reducing left like a boss. Feels more natural than working with list comprehensions in python.

About