Day 23 - Solutions
Here’s my solution for posterity 🙂 https://github.com/bhauman/advent-of-code-2022/blob/main/src/adv2022/day23/sol.clj
https://gitlab.com/maximoburrito/advent2022/-/blob/main/src/day23/main.clj part 2 from part1 took under 2 minutes, including the 15s it took to run. Clojure definitely made that part easy
https://github.com/akovantsev/adventofcode/blob/master/src/adventofcode/y2022/day23.clj#L8-L88
It took me half an hour to finally understand that the moves need to be rotated after each round 🤦🏻♂️
verbose, novice clojurian solution. https://github.com/elh/advent-2022/blob/main/src/advent_2022/day_23.clj
https://github.com/zelark/AoC-2022/blob/master/src/zelark/aoc_2022/day_23.clj
@misha like your idea to group elves by propose while making them, then you don’t need freqs
https://github.com/callum-oakley/advent-of-code/blob/main/src/aoc/2022/23.clj I was wondering when we would get the annual game of life puzzle 🙂
@c.oakley108 I believe tomorrow 🙂
ah I thought this might have been it. it's arguably "in the spirit of it" even if there's no multiplication 😅
here’s my solution for today https://github.com/axelarge/advent-of-code/blob/master/src/advent_of_code/y2022/day23.clj
i did the main part of resolving move conflicts using group-by + mapcat