Day 25 #adventofcode in the books.
In keeping with tradition this was a fairly simple puzzle, and if you completed part 1, and had all of the other stars then you got the star for part 2 automatically.
You were given a number of grids, some representing 'locks' and some representing 'keys'. You had to figure out the number of combinations of locks and keys that could be overlaid on one another without any columns overlapping.
Scanned each in and converted it to a set of heights from the top if it was a lock or the bottom if it was a key. Then simply checked each key against each lock. Simple.
Typescript for this last one, making three languages used throughout the competition - #typescript #python and #c
=> More informations about this toot | More toots from walkerb@infosec.exchange
@walkerb impressive! Well done !!
=> More informations about this toot | More toots from EngineerDaryl@fosstodon.org
@EngineerDaryl thanks!
=> More informations about this toot | More toots from walkerb@infosec.exchange This content has been proxied by September (ba2dc).Proxy Information
text/gemini