This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Discussion thread for day 5 of the Advent of Code : https://adventofcode.com/2020/day/5
This AoC challenge had Alteryx written ALL OVER IT.
Very similar to @NicoleJohnson
My solution at Day 5.
My approach is different from other's.
Part 2 was simple, but I didn't know what it meant at first.
Brute force following the logic of each step. So keen to understand the much shorter solution to this that others have posted!
P.S. Just saw @NicoleJohnson and @jdunkerley79 convert to binary, and realised I completely missed this hint in the question🙄
There are 10 kinds of people in the world - those who understand binary and those who don't... 😉
Exact same solution as @NicoleJohnson 😉
1st solution I came up with aka "why make it simple when you can make it really complicated" :
Then used my brain and came up with same solution as many people :