-🎄- 2020 Day 24 Solutions -🎄-

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • advent-of-code

    My solutions for Advent of Code (by AlexAegis)

  • TypeScript

  • aoc2020

    Discontinued Advent of Code 2020 (by ednl)

  • Thanks to /u/thomasahle for encouraging me to implement axial coordinates, which made it a lot easier. Also thought of a better way to parse the input in one go. And this allowed me to tighten up the grid dimensions. Runs in under a second on a very old laptop, half of which is because of the scipy import ... https://github.com/ednl/aoc2020/blob/main/day24alt2.py

  • 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
  • AOC2020

  • So, the only sensible thing to do was rewrite HashSet for my own use: link

  • AdventOfCode2020

  • That is what I did for my perl solution and that takes less than 1.5 seconds to do both parts.

  • advent2020

    Advent of Code 2020 (by jackowayed)

  • I'm also proud that to speed up my thinking through this grid, I literally downloaded the top image on the wikipedia article and rotated it 90 degrees. I knew conceptually that the grid he described was the equivalent to what I was looking at, but thinking through the deltas degrees off was hard, so I made it easier, and checked it in for kicks https://github.com/jackowayed/advent2020/blob/main/24/1920px-Tiling_6_simple.svg.png

  • adventOfCode

    Solutions to the 'Advent of Code' (http://adventofcode.com) programming challenges in Elm (by jwoLondon)

  • This was a satisfying one. I love working with hex grids. I used the similar 3-axis hex representation as day 11, 2017 (but rotated by 90 degrees), and the similar unbounded game of life pattern seen on day 17, 2020 and exactly a year ago on day 24 2019.

  • aoc2020

    Advent of Code 2020 - my answers

  • Haskell

  • SaaSHub

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

    SaaSHub logo
  • hac

    HAC Ada Compiler - a small, quick Ada compiler fully in Ada

  • Other solutions available here.

  • advent-of-code-2020

  • Python 3, 97/50. code (permalink) & screen recording

  • aoc-2020

    My solutions to Advent of Code 2020. (by Fryer)

  • JavaScript 789/766

  • advent2020

    https://adventofcode.com/2020 (by pvillano)

  • Python runs in .22 seconds.

  • aoc

    🎄 advent of code 414⭐ (by MasterMedo)

  • python

  • Advent-of-Code

    Solutions to Advent of Code challenges (by StasDeep)

  • Python, 345/622 (34 sloc)

  • advent-of-code-go

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

  • Go solution 1240/668

  • advent-of-code

  • Rust [586/1187]

  • snippets

  • Python3

  • AdventOfCode2020

    My solutions for Advent of Code 2020 in Python. I try to write solutions as elegant, readable and Pythonic as possible. (by 0xVector)

  • Python, simple and (hopefully) readable.

  • AdventOfCode2020

    Advent of Code 2020 (by kimvais)

  • On the first look your solution is almost identical to mine

  • Advent-of-Code-2020

    Advent of Code 2020 (by wjholden)

  • Full solution on GitHub.

  • Advent_of_Code_in_Pascal

    My solutions to the Advent of Code, in Free Pascal

  • Pascal (with visualization in text output!)

  • AOC2020

    Discontinued My solutions for the AOC (by MatthiasCoppens)

  • Haskell, runs in 600 ms.

  • aoc20

  • Code on Github.

  • Advent-of-Code

    My solutions for adventofcode.com (by lethan)

  • My solutions runs in a couple of seconds by only keeping track of black tiles and their neighbors. So alot of unneeded updates are avoided. My elixir solution.

  • advent-of-code

    My solutions for Advent of Code (by besasam)

  • Python. So many games of life this year. I'm not bothered though :D

  • advent_of_code

    #adventOfCode (by zedrdave)

  • Same on GitHub

  • My solution in Common Lisp.

  • aoc-2020

    Advent of code 2020 in Python and Rust (by TamTran72111)

  • My Python and Rust solutions, which run in 0.5s and 80ms.

  • aoc-2020

    aoc with generators (by kiwiscott)

  • Rust - Super good day today. Almost starting to grok rust. I'm not as great at iterators as many others. ;)

  • aoc-2020

    Discontinued My solutions for https://adventofcode.com (by ScottBailey)

  • C++ part2 215ms on my laptop

  • advent-of-code

    Collection of JS solutions for puzzles from adventofcode.com 🎁🎄 (by romellem)

  • Source code is available here.

  • aoc2020

    Advent of Code 2020 solutions (by sharpobject)

  • Lua 275/174

  • adventofcode

    Solutions for Advent of Code over the years (by sburuiana)

  • C++ 269/103

  • AdventOfCode2020

    My solutions for Advent Of Code 2020 (by akaritakai)

  • Code here.

  • Advent-of-Code

    Advent of Code python solutions (by filipmlynarski)

  • Python 376/465. For hex coordinates I was simply using multiples of 2 for values in x axis for even y axis and multiples of 2 - 1 for odd y axis. paste, GitHub, YouTube

  • Advent-of-Code

    Advent of Code (by michaeljgallagher)

  • Link Struggled at first on how to implement the hexagonal grid, but after a bit of research stumbled across this. Used complex numbers for the offset coordinates (like in day 12), and then pretty much just copy and pasted my day 17.

  • adventofcode

  • Python 147/258

  • AdventOfCode-Java

    adventOfCode(Language.JAVA);

  • Java

  • Advent-of-Code-2020

    My solutions for Advent of Code 2020 (by kermitnirmit)

  • Python 929/997

  • aoc2017apl

    Advent of Code 2017 solutions in APL

  • I spent most of the time trying to remember how I had solved 2017 day 11.

  • aoc2020apl

    Advent of Code 2020 solutions in Dyalog APL

  • Dyalog APL 437/288

  • Advent-2020

    My Solutions for Advent of Code 2020

  • Video Explanation Github Link Easy day, got tripped up with some typos in my coordinate system but still pretty quick. Did my best to use yet another different game of life approach so I wouldn't be going over essentially the same code as in the other two.

  • AoC2020

    Programs for Advent of Code 2020 (by Perska)

  • C# Solution: I keep misreading instructions edition

  • AdventofCode2020

    For the 2020 Advent of Code challenge (by curiouskiwi)

  • Solution in C

  • adventofcode

    https://adventofcode.com/ (by jackfrost168)

  • code for part1 and part2. it's an interesting question. Record black tiles or remove if flipped even times.

  • Advent2020

  • Python 3

  • adventofcode

    :christmas_tree: Advent of Code (2015-2023) in C# (by encse)

  • Cleaned up: https://github.com/encse/adventofcode/blob/master/2020/Day24/Solution.cs

  • Advent-of-Code-2k20

  • HASKELL

  • advent-of-code

    Advent of Code challenges in various languages (by cfbender)

  • Elixir

  • aoc

    advent of code (by jitwit)

  • J Programming Language

  • advent-of-code-2020

    Answers and solutions for Advent of Code 2020. (by Bruception)

  • Python3 - simple solution.

  • adventofcode

  • Scala solution

  • advent-of-code-2020

    🦀 Rust solutions to AoC 2020 (by wfxr)

  • Rust: Once you realized that each tile can be represented by a 2-D point, part 2 is easier than Day17 part2.

  • adventOfCode-2020

    Code Challenges and Practice (by valiant-code)

  • Java - github

  • Advent-of-Code-2020

    https://adventofcode.com/2020 completed in Haskell (by 2jacobtan)

  • advent-of-code-2020

    Advent of Code 2020 Solutions (by chuuddo)

  • RegExp + Doubled coordinates + Day 17 solution for part 2

  • advent_of_code_2020

    Advent of Code 2020 (by aorgou)

  • Python3 in notebook

  • advent-of-code-2020

  • Code: https://github.com/lulugo19/advent-of-code-2020/blob/main/src/day24.rs

  • aoc2020

    Advent of Code 2020 (Kotlin) (by p88h)

  • Python with visualisation https://github.com/p88h/aoc2020/blob/main/vis/day24.py

  • hexgrid

    Golang library to manage hexagon grids (by pmcxs)

  • Really happy with this solution. Borrowed Hex code from pmcsx/hexgrid which I guess is a lil naughty, but I was pleased with my execution time of around 300ms for Part 2 and around 600us for Part 1. Also pleased with the clarity and brevity of my code.

  • Advent-of-Code-2020

    Advent of Code 2020 written in C++ using VS code with WSL integration. (by daniel-meilak)

  • Tried to comment my code as best I could: GitHub day 24 (part 1 and 2) in C++

  • advent-2020

    My solutions to https://adventofcode.com/2020 using Golang (by colinodell)

  • Golang solution, runs in 0.19s for both parts combined.

  • AoC

    Advent of Code (by snoyes)

  • Python - again, no ifs, ands, or buts, and only four lines longer than day 17. I'm particularly pleased that, by using complex numbers for the coordinates, navigating the directions can be done with sum.

  • AoC-2020-solutions

    My Python solutions to Advent of Code 2020! (by womogenes)

  • Code! (Python)

  • aoc-2020

    Advent of Code 2020 (by aldanor)

  • Here's my day 24 in Rust, using SIMD as usual :) (and offset coordinate encoding to make a SIMD-friendly 2-D cell grid)

  • aoc2020

    Advent of Code 2020 (by gustafe)

  • Perl

  • advent_2020

    Discontinued Advent of code 2020 [Moved to: https://github.com/mattteochen/AoC]

  • C solution: both part

  • D (dlang) solution. I couldn't find an unordered set in Phobos so I uuh, I improvised : https://github.com/azihassan/advent-of-code-2020/tree/master/24

  • Advent-of-Code-2020

  • Part 1 & 2 in 34 sloc with 0.72 Sek. GitHub

  • aoc2020

    Advent of Code 2020 (by sporksmith)

  • Rust. Nothing particularly clever here, but I managed to keep it both pretty short and easy to follow, I think. ~72 lines without tests.

  • 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

  • -🎄- 2020 Day 22 Solutions -🎄-

    91 projects | /r/adventofcode | 21 Dec 2020
  • -❄️- 2023 Day 6 Solutions -❄️-

    298 projects | /r/adventofcode | 6 Dec 2023
  • -❄️- 2023 Day 4 Solutions -❄️-

    143 projects | /r/adventofcode | 5 Dec 2023
  • -🎄- 2022 Day 21 Solutions -🎄-

    124 projects | /r/adventofcode | 20 Dec 2022
  • -🎄- 2022 Day 17 Solutions -🎄-

    62 projects | /r/adventofcode | 16 Dec 2022