Reply to
: I just completed "Amphipod" - Day 23 - Advent of Code 2021 https://t.co/bm6uNEWCMu #AdventOfCode spend most of the time to generate search space, the space is small so no fancy search needed
— 小影 (@siuying) December 24, 2021
How’s your runtime? I first solved them by hand and got the two stars. Then I tried to write a program to solve. It took 12 minutes for part 1 and 2 minutes for part 2.
1.8s, I did remove duplicates each turn