Skip to content

Latest commit

 

History

History

day11

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

🎄 Advent of Code 2022 - day 11 🎄

Info

Task description: link

Notes

This was painful. Part 1 was easy enough1, but part 2 absolutely requires critical thinking if you don't know the trick right away. I tried a lot of dumb things that I didn't expect to work, and they didn't. I was in the vicinity of the right idea, but it took a while to nail it.

Footnotes

  1. Well, kind of. I really need to refresh my memory on how to parse values out of strings with regex2, rather than using clunky substrings_

  2. I went and updated the parsing with regexes. Still don't quite love how JS regex match extraction works, but I hope I can get fast and reliable with writing these.