-🎄- 2021 Day 20 Solutions -🎄-

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

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • adventofcode

    Advent of Code challenge solutions (by flwyd)

    Raku and Go 10828/10559 (because I spent about 40 hours thinking that 3D rotation is commutative across axes, until I did a second round of experimenting with a Rubik's cube). The Raku solution runs in about 41 minutes, the Go solution runs in about 41 seconds.

  • aoc2021

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

    Elixir 3 ms / 1.3 sec

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • advent-of-code

    Compile for your CPU. By default rustc compiles for a generic CPU (i.e. a very very old x64), so the compiler does not use all the features availabl ein modern processors. Just add this in your project and you'll get several % improvement.

  • aoc

    Advent of Code - mscha's Perl 6 solutions (by mscha)

    The rest is the same as my first attempt, but full code at GitHub.

  • advent-of-code

    Advent of Code (by morgoth1145)

    Python3 64/44

  • Advent-of-Code

    A repository holding all of my solutions to Advent of Code problems (by Noble-Mushtak)

    Python 3.8.10 82/68

  • AdventOfCode

    My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA (by jonathanpaulson)

    135/99. Python. Video coming soon.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • advent-of-code-2021

    RUST

  • advent-of-code

    Advent of Code solutions in JS (by leyanlo)

  • adventofcode

    My solutions for Advent of Code (by fireduck64)

  • advent_2021

    Python using numba for speed, so part 2 runs in about 200 ms. Kind of nasty that the example code didn't flash...

  • AdventOfCode_2021

    Repository for Advent of Code 2021 solutions (by galenelias)

    Code

  • aoc2021

    Advent of Code 2021 solutions in Clojure and Python (by tabidots)

    Clojure (Github). Part 2 runs in ~4.2s (didn't try to optimize anything, if there is even anything to optimize).

  • AdventOfCode2021

    Pidgin Python... didn't get the trick filler value in the first place, nasty little Hobbits :( https://github.com/Myxcil/AdventOfCode2021/blob/main/Day20/day20_main.py

  • deno_aoc

    🎄 Advent of code solutions written in TypeScript for Deno.

  • advent_of_code

  • advent-of-code-2021

    My solutions for Advent of Code 2021: https://adventofcode.com/2021 (by BradonZhang)

    Python 2295/2001 - GitHub

  • AdventOfCode-Java

    adventOfCode(Language.JAVA);

  • aoc-2021-python

    my Python solutions for Advent of Code 2021!

    Kudos! I tried to do the exact same thing in Python, but I was much slower even with the help of the standard library's functools.cache. (Python, 1680/1482.)

  • AdventOfCode2021

  • adventofcode

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

    My Scala solution.

  • Advent_of_Code2021

    Solutions to Advent of COde 2021 (by cettt)

    Today was quite easy again. The only challenging part in my input was that light pixels surrounded by only light pixels turn dark (and vice versa). github

  • Advent

    AdventOfCode (by genveir)

    C#

  • AoC2021

  • advent2021

    Advent of Code 2021 (by arjanIng)

  • AdventOfCode

    C# solution (cleaned up)

  • AoC

    AoC by me (by Alenlov)

    Python

  • aoc

    rust part 1 and 2, since only number of steps were different

  • adventofcode

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

    both parts (a bit ugly brute force in the "let's expand the range into oblivion until it works" parts)

  • aoc_kotlin

    Advent of code solutions in Kotlin

    Kotlin 1948/1806

  • AOC

    Advent of code (by cascer1)

    github link

  • AdventOfCodeCSharp

    My AoC Solutions

    C#

  • AdventOfCode

    Python

  • advent-of-code

    Python.

  • advent-of-code-2021

    Code I used for solving https://adventofcode.com/2021 (by pavel1269)

  • adventofcode-21

    Elixir

  • advent-of-code

    Ruby

  • advent-of-code-2021

    In Common Lisp (by brunal)

  • advent-of-code

  • AdventOfCode2021

    Python 3 using Numpy: https://github.com/HeyHouBenjo/AdventOfCode2021/blob/main/20/20.py

  • adventOfCode

    Advent of Code solutions in a number of different languages (by codemicro)

  • advent-of-code-solutions

    My JS solutions for https://adventofcode.com/ (by AugustsK)

  • advent2021

  • advent-of-code

    My Advent of Code solutions through the years - mostly JS (by davidsharp)

    Almost walked away from this when caught out by the "empty" space flipping. But stuck with it and managed to make it work without changing my approach too much.

  • AdventOfCode2021

    Code

  • Advent-of-Code

    Solutions for Advent of Code ⭐️ (by kvrhdn)

    Solution in Go: kvrhdn/Advent-of-Code//advent-of-code-2021/day20/day20.go

  • advent-of-code-2021

    zig solutions to advent of code 2021 (by jchevertonwynne)

  • AoC2021

    Advent of Code 2021 (by gereons)

  • AdventOfCode2021

    Advent of code 2021 (by marcodelmastro)

  • Advent-of-Code

    Advent of Code (by michaeljgallagher)

    Nice problem today

  • aoc_bp

    My AOC boilerplate

    JavaScript with some optimizations

  • adventofcode2022

    Advent of Code 2022

    Kotlin

  • advent-of-code

    My solutions to the Advent of Code (by aaronreidsmith)

    Scala. Really enjoyed today's puzzle. A classic Game of Life with a little twist

  • aoc2021

    Advent of Code 2021 on my homemade 16-bit CPU SCAMP (by jes)

  • AoC2021

    github

  • adventofcode

    Advent of code solutions (by mathsaey)

  • advent-of-code

    My Advent of Code submissions (by DecemberDream)

    Python day 20, code for part 1 also worked for part 2 without any changes.

  • aoc2021-abap

    AdventOfCode 2021 solutions in ABAP

    I've created solutions for all days except day 19 in ABAP. Feel free to take a look at the whole repository. The code is standalone and doesn't require any DDIC types or classes. Just a local file on the application server to read the input from.

  • AoC2021

    C#

  • advent-2021

  • adventofcode

    Advent of Code solutions (by alchemyst)

    Python + SciPy

  • advent-of-code

    My Advent of Code solutions (by premun)

  • advent-of-code-2021

    Haskell: https://github.com/MaT1g3R/advent-of-code-2021/blob/master/day20/src/Lib.hs

  • adventofcode

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

    TypeScript, simple solution.

  • advent-of-code

    Advent of code solutions (by tallbikeguy)

  • advent-of-code-2021

    Advent of Code 2021 Solutions (by jerchende)

    I used my Matrix Implementaion, which was usefull in seven puzzles until now :).

  • aoc2021

  • aoc2021

    advent of coding zig (by Kiraffi)

    Writing in Zig, seems to get around 1.7ms run time for combined part 1 and 2. Not exactly pretty code, and I feel like there has to be better way to do stuff. https://github.com/Kiraffi/aoc2021/blob/main/src/day20.zig

  • advent_of_code

    Advent of Code solutions (by domm)

  • adventofcode2021

    My Solution to AOC2021 (by HrRodan)

    Python: 28 lines and a rather good performance by using numpy, a bool array, and generic filter from ndimage. The generic filter again felt a little bit like cheating :) https://github.com/HrRodan/adventofcode2021/blob/master/day20/day20.py

  • aoc

    Advent of Code Solutions (by joeyemerson)

  • advent-of-code

    Advent of Code solutions by me (by Corniel)

    Full code at Github

  • adventofcode2021

  • advent-of-code

    Watch me give up half way through >_> (by gabts)

  • aoc2021

    Advent of Code 2021 - my answers

    Haskell 621/603

  • AdventOfCode2021FSharp

    Solutions for Advent of Code 2021 in F#

    F# solution in Jupyter Notebook. Part 1 takes 500ms but Part 2 takes 24s. Any suggestions on where performance could be improved would be appreciated!

  • Advent-of-Code-2021

    My solution for the advent of code 2021, mainly written in Rust (by tmokenc)

    Rust

  • AdventOfCode

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

    The state of a pixel after 1 step depends on the 3x3 grid around it; The state after 2 steps depends on the 5x5 grid around it etc. (Which is how I initially solved part 1) The state after n steps depends on the (2*n+1)^2 pixels around it. This means that the farthest affected pixels are n pixels away from the initial edge i.e. a 100x100 image enhanced 50 times creates an image that is 200*200 (increased by 50 lines on each of the four sides). Anything outside that range is assumed to be empty after all the steps have been applied (Which is true for any input and number of steps where the answer is finite).

  • advent-of-code-2021

    All solutions for the 2021 Advent of Code event. (by Bruception)

  • AdventOfCode

    Advent of Code Solutions (by auxym)

  • advent-of-code-2021

    My Advent of Code solutions. I prioritize readability over performance where possible. (by tcc-sejohnson)

  • BenchmarkDotNet

    Powerful .NET library for benchmarking

    Maybe you can create a benchmarking project where you test both the C# and F# algorithm using benchmarkdotnet?

  • aoc2021

    Day 20

  • adventofcode

    https://adventofcode.com/2021/ (by Torakushi)

  • aoc20

  • AdventOfCode2021

  • advent-of-code-go

    (All 7 years of) adventofcode.com solutions in Go

  • AdventOfCode2021

    My solutions to https://adventofcode.com/2021 (by willkill07)

  • adventofcode

    my solutions to adventofcode.com (by simeydk)

    If you're interested, I did a similar thing, also using Numpy, but tried to use numpy's vector methods rather than loops Solution to 2021 Day 20 in Python (using Numpy)

  • aoc-2021-in-kotlin

  • advent-of-code-2021

    Code here.

  • AdventOfCode2021.jl

    Advent of Code 2021 in Julia

  • advent-of-code-2021-kotlin

    🎄 Solutions to Advent of Code 2021 in Kotlin 💜

    Kotlin code - Notes

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