adventofcode

2022-12-23T06:12:44.830399Z

Day 23 - Solutions

bhauman 2023-12-17T03:09:04.247809Z

Here’s my solution for posterity 🙂 https://github.com/bhauman/advent-of-code-2022/blob/main/src/adv2022/day23/sol.clj

2022-12-23T06:24:39.302859Z

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

Miķelis Vindavs 2022-12-23T09:32:19.656669Z

It took me half an hour to finally understand that the moves need to be rotated after each round 🤦🏻‍♂️

Eugene Huang 2022-12-23T09:57:03.668989Z

verbose, novice clojurian solution. https://github.com/elh/advent-2022/blob/main/src/advent_2022/day_23.clj

👍 1
Aleks 2022-12-23T11:14:25.677999Z

@misha like your idea to group elves by propose while making them, then you don’t need freqs

👍 2
Callum Oakley 2022-12-23T11:18:21.486799Z

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 🙂

Aleks 2022-12-23T11:19:07.492709Z

@c.oakley108 I believe tomorrow 🙂

Callum Oakley 2022-12-23T11:19:40.488029Z

ah I thought this might have been it. it's arguably "in the spirit of it" even if there's no multiplication 😅

Miķelis Vindavs 2022-12-23T14:12:40.161389Z

here’s my solution for today https://github.com/axelarge/advent-of-code/blob/master/src/advent_of_code/y2022/day23.clj

Miķelis Vindavs 2022-12-23T14:14:01.964349Z

i did the main part of resolving move conflicts using group-by + mapcat