-🎄- 2021 Day 23 Solutions -🎄-

This page summarizes the projects mentioned and recommended in the original post on /r/adventofcode

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • aoc2021

    Advent of Code 2021, this time in Go (by danvk)

  • (Here's my original version that used the uint64 encoding: https://github.com/danvk/aoc2021/blob/e795c78090c35c0b9880fd692ba1677fae31e044/day23/day23.go)

  • aoc2021

    My Advent of Code 2021 solutions, in Rust. (by orlp)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • adventofcode

    My solutions for Advent of Code (by fireduck64)

  • adventofcode

    Advent of Code solutions (by mcpower)

  • Python, 407/8. Part 1, Part 2, Part 2 cleaned up. How did y'all do part 1 so quick?

  • AdventOfCode2020

    Solutions to all 25 AoC 2020 problems in Rust :christmas_tree:

  • Link to full solution

  • adventofcode

    Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala (by sim642)

  • My Scala solution. (to be cleaned up/optimized)

  • aoc2021

    Solutions to Advent of Code in Haskell (by eutro)

  • Source at submission time

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • AdventOfCode

    Hacky solutions for [Advent of Code](https://adventofcode.com), working on past problems (by AllanTaylor314)

  • Part 1, which only worked for rooms holding two amphipods, then Part 1&2 that works for (theoretically) any sized room. Takes less than 5 seconds to solve both parts.

  • adventofcode

  • 2119/1075 Python

  • Advent-Of-Code

    My solutions to all Advent of Code questions (by Anshuman-UCSB)

  • aoc2021

    Advent of Code 2021 solutions (by kupuguy)

  • My solution to part 1 in Python: https://github.com/kupuguy/aoc2021/blob/main/src/day23-1.py and part 2 is: https://github.com/kupuguy/aoc2021/blob/main/src/day23.py

  • toybox

  • 1419/1994 C#: GitHub link

  • AdventOfCode

  • C# Solution (one of the less nice-looking ones even after cleanup)

  • aoc21

  • AoC

    my personal repo for the advent of code yearly challenge (by Fadi88)

  • python incomplete

  • advent2021

  • advent-of-code

  • Javascript, 34/2223

  • adventofcode

    ES6 solutions to Advent of Code puzzles. (by surgi1)

  • I likes today's problem. Part 1 solved by hand. Part 2

  • advent-of-code

    advent of code (by fridokus)

  • AdventOfCode

    Advent of code daily challenge (by WilliamLP)

  • aoc2021

    solutions for advent of code 2021 (by tumdum)

  • my rust solution - runs in ~650ms. All it does is explore all possible move sequences that obey game rules. Ordered by increasing total cost.

  • advent-of-code

    My Advent of Code answers (by tcsullivan)

  • GitHub. This is a parallelized brute-force algorithm that plays through every possible move, collects the scores of the winners, then displays the lowest of the scores.

  • AoC

  • C# CSharp

  • Advent-Of-Code

  • Today was insane for me. Basically spent like 10 hours working on it, but I started from scratch in the last hour and got both parts. I made very stupid mistakes such as reversing the values when reading them or writing a 2 instead of a 3. I am tired, but we are almost at the end! Part1 and part2 in Javascript.

  • advent-of-code-2021

    My Advent of Code 2021 solutions (by capJavert)

  • Rust solution

  • AdventOfCode2021

    AdventOfCode 2021 done in Python (by achowd53)

  • [Python3](https://github.com/aribchowdhury/AdventOfCode2021/blob/master/day23/code.py)

  • algorithm-problems

    My solutions to various problems / competitions

  • Full code https://github.com/Matsemann/algorithm-problems/blob/main/adventofcode2021/src/main/kotlin/com/matsemann/adventofcode2021/Day23.kt

  • adventofcode

    Solutions for problems from AdventOfCode.com (by bhosale-ajay)

  • TypeScript, Very slow, takes around 20 sec to solve part 2, but readable code, DFS with string as state, The Room type helped to optimize some code. Tried optimizing based on other solutions, but no luck. Reminded me of day 11 from 2016. Will try F#, which may be provide faster string processing with SPAN.

  • Advent_of_Code2021

    Solutions to Advent of COde 2021 (by cettt)

  • My code is super slow: takes about 15 minutes for part 2. There is much too improve: will take a good look at this after the 25th.

  • adventofcode

    Advent of code solutions (by mathsaey)

  • aoc-2021-rust

    Advent of Code 2021 in Rust (by philband)

  • advent-of-code

    http://adventofcode.com solutions (by zmerlynn)

  • advent-2021

    Discontinued [Moved to: https://github.com/Crazytieguy/advent-of-code] (by Crazytieguy)

  • adventofcode

    Solutions to Advent of Code in Go (by 1e9y)

  • https://github.com/1e9y/adventofcode/blob/main/2021/day23/day23.go

  • advent-code-2021

    Discontinued [Moved to: https://github.com/xdavidliu/advent-of-code]

  • deno_aoc

    🎄 Advent of code solutions written in TypeScript for Deno.

  • Advent-of-Code-2021

    Made it through all 25 days of Advent of Code for the second time! (by Leftfish)

  • Python - needs over 45 seconds but WORKS, which is good enough for me after a couple of days, especially given the fact that I can spend at most 1-2 hours a day solving this... The ugliest part are probably the hard-coded distances from rooms to corridors and vice versa, but what the heck, it works.

  • advent-of-code-2021

    My solutions for the https://adventofcode.com puzzles (2021) 🎄🎅 (by ClouddJR)

  • Dijkstra algorithm, relatively fast and readable. Source

  • aoc2021

    Advent of Code 2021 (Elixir + Pygame) (by p88h)

  • Elixir

  • advent-of-code-go

    All 8 years of adventofcode.com solutions in Go/Golang; 2015 2016 2017 2018 2019 2020 2021 2022

  • Go/Golang solutions

  • AdventOfCode

  • advent-of-code

    My Advent of Code solutions (by premun)

  • adventofcode

    Advent of Code challenge solutions (by flwyd)

  • Raku and Go because the Raku implementation took tens of minutes to get a slightly-too-high answer, so I figured it would be easier to iterate on bug fixing in a language that could get a wrong answer in seconds. After a couple days of occasional work and a very tedious Go test case that demonstrated my move logic was correct, I realized that my bug was in discarding board states if I'd seen them show up before, even if the new one came at a lower total cost. For example, inefficiently moving As into position before moving D in would produce a high-cost solved board faster than moving the D first and then efficiently moving the As. By changing my seen set to a map of board state to cost, my code suddenly worked.

  • advent21

    Advent of Code 2021 (by h-j-k)

  • Nim with my walkthrough here. Similar to the other solutions, just brute-forcing all possible moves for Dijkstra's algorithm. My walkthrough simply explains how to figure out the valid moves to do so, turns out it isn't too hard after having written it down (and simplifying my code).

  • aoc2021

    Advent of Code 2021 - my answers

  • Haskell 1171/339

  • AdventOfCode2021.jl

    Advent of Code 2021 in Julia

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts