-🎄- 2021 Day 6 Solutions -🎄-

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

Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • AoC

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

    python and rust no external libs were used, including benchmarking code for both to measure timing performance

  • AdventOfCode2021

    One can do matrix exponentiation to calculate the value, which runs in time O (log D). See my implementation on GitHub.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • aoc2021

    Advent of Code 2021 (by MichaelCG8)

    Very similar to mine, I used .rotate(1) on my ages array then added the element at the end to the element at index 6. https://github.com/MichaelCG8/aoc2021/blob/main/src/bin/06.rs

  • adventofcode

    Advent of code solutions (by julian-west)

    Python solution using deque (GitHub). Much faster than my first attempt, lol

  • adventofcode

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

    F#, Readable simple 4 functions, opted for for loop and Array mutation

  • AdventofCode

    Loving it! Your code is similar in structure as mine but you did a much more concise job :)

  • deno_aoc

    🎄 Advent of code solutions written in TypeScript for Deno.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • adventofcode

    Answers to Advent of Code (by viceroypenguin)

  • advent-of-code-go

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

  • advent-of-code

    :christmas_tree: (by hughcoleman)

    Cleaned-up solution.

  • advent2021

    Advent of Code 2021 (by moink)

    Python

  • Advent-of-Code

    Advent of Code (by michaeljgallagher)

    Good exercise on when to a hash table (or in this case, a Counter)

  • aoc2021

    My solutions to Advent of Code 2021. (by ritobanrc)

    Rust. Unsurprisingly, I did the naive thing for part 1 and then had to re-write for part 2. I'm happy with how clean part 2 is, I just used a Rust array for the counts -- though I'm sure there's a more clean solution for shifting an iterator.

  • advent-of-code-2021

    AOC in go (by alextanhongpin)

  • aoc-2021

    Github

  • adventofcode

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

    My Scala solution.

  • Advent-of-Code-2021

    Advent of Code Solutions 2021 in Python (by DenverCoder1)

  • aoc2021

    Advent of Code 2021 Solutions (by nlowe)

    Go 1237/4880

  • advent-of-code

    Solutions for Advent of Code (by smrq)

    JS, 79/2651

  • AdventOfCode2021

    Part 1

  • aoc2021

    My solutions to Advent of Code 2021. (by Bogdanp)

    Racket: https://github.com/Bogdanp/aoc2021/blob/8bc6e8f772885b8ada3b7bdda09d42feb680e567/day06.rkt

  • aoc-2021

    Advent of Code 2021 with C#/LINQ (by jasonincanada)

    C# solution same as most others but with a bit of LINQ

  • advent-of-code-2021-kotlin

    🎄 Solutions to Advent of Code 2021 in Kotlin 💜

    Kotlin

  • adventofcode

    Advent of Code challenge solutions (by flwyd)

    Raku 7425/4406 (thanks to some really confusing compiler errors about ways that Whatever and lambdas can't be used.

  • Advent-of-Code

    My solutions for Advent of Code 2020 (by MartinSeeler)

    Python3

  • advent-of-code

    Python 3

  • aoc2021

    Rust implementation of aoc2021 problems (by devzero)

  • AdventOfCode2021

  • aoc_2021

    advent of code 2021 (by judifer)

    Python

  • adventofcode

    :christmas_tree: Advent of Code (2015-2021) in C#

  • adventofcode

    Advent of code in rust (by Japanuspus)

    Full code

  • adventofcode.com

    Practising Haskell with AdventOfCode.com puzzles (by sangster)

  • advent_of_code

    Advent of Codes with Elixir [2015 ~ 2020] (by code-shoily)

    Solved it in Elixir. Here's the link

  • advent-of-code

    Solutions to Advent of Code challenges. (by 8483)

  • advent-of-code

    Answers to 2020 Advent of Code (disclaimer this was done quickly rather than efficiently) (by jordangarrison)

    Go day 6. It's a little verbose but you have to remember to map the days, not the fish 😂 GitHub

  • aoc21

    Advent of Code solutions, 2021. (by Artemis21)

    Also, a Web Assembly solution.

  • aoc

    Advent of Code (AOC 2019-2021) in Rust! 🦀 (by hkennyv)

  • advent_of_code

    All of my :star: Advent of Code 2021 solutions - using Elixir (by wasi0013)

    Checkout the full repo: wasi0013/advent_of_code on GitHub

  • Elixir

    Elixir is a dynamic, functional language designed for building scalable and maintainable applications

    Elixir

  • advent-of-code

    advent of code (by fridokus)

  • advent-of-code-2021

    Advent of Code 2021 (by bennuttall)

    I got part 1 fairly quick even though I overengineered it at first. Turned out to be much easier than I thought. Just keep track of the numbers of fish at each age, rather than tracking instances of fish!

  • advent-rs

    My Rust Solution

  • adventofcode

    Advent of code solutions (by mathsaey)

  • aoc2021

    Advent of Code 2021 (by sotolf2)

  • advent-of-code-2021

    My solution in Rust. Runs pretty fast: ~4 microseconds. =D

  • advent-of-code-2021

    My Advent Of Code 2021 solutions (by jszafran)

  • advent-of-code-2021

    Advent of Code 2021 Java 17 (by zebalu)

    Java nothing special:

  • Advent_of_Code_2021

    My solutions to Advent of Code 2021 (by neelakantankk)

    Python solution that takes about a second for part 2. The logic is the same for both parts, just changed the number of days it runs for.

  • aoc2021

    Advent of Code 2021 - my answers

    Haskell 6676/2310

  • aoc2021

    My personal solution uses an array (https://github.com/abnew123/aoc2021/blob/master/aoc2021/Day6.java ) although the fact 9 is hardcoded is a bit annoying to me (thinking of changing to a list).

  • AdventOfCode2021

    Advent of code 2021 (by marcodelmastro)

  • aoc2021

  • submarine

    AdventOfCode 2021

  • advent-of-code

    Solutions for Advent of Code 2017 in javascript (ES6) (by Akallabet)

    My solution in Javascript, got it down to O(n) after 90 minutes of desperation... pretty sure today's puzzle is taken from a known algorithm, will find out!

  • advent-of-code

    [Learning] My Advent of Code Solutions (by xavdid)

    Solution and writeup here: https://github.com/xavdid/advent-of-code/tree/main/solutions/2021/day_6

  • adventofcode

    adventofcode.com solutions (by linl33)

  • aoc2021

    Advent of code 2021 solutions, in varied languages (by A-UNDERSCORE-D)

    https://github.com/A-UNDERSCORE-D/aoc2021/blob/main/aoc/go/six/06.go -- Nothing super fancy. Nice ability to pick arrays over slices here though. Probably contributes a bit of speedup.

  • advent-of-code-2021

    My Kotlin solution for AoC 2021 (by henningBunk)

    Kotlin, nothing too fancy. Since my template only accepts Int as a result I had to improvise (and maybe should adjust my template)

  • advent-of-code

    My solutions to Advent of Code problems. (by rajitbanerjee)

    Neat TypeScript solution! https://github.com/rajitbanerjee/advent-of-code/blob/master/2021/day06-lanternfish/expo.ts

  • adventofcode

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

  • Advent-of-Code-2021

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

    My first thoughts were OOPish, but then I read the puzzle again and saw the dreaded word: 'exponential'. So here's another Python solution with deque.

  • advent-2021

    My solutions to 2021 Advent of Code, written in Haskell (by teekookoo)

    Haskell

  • AdventofCode2021

    12834/8563 [Python3] First one I'm actually kind of proud of. 1:06 between submissions gets me 4000 places. Took so long (to enter a different 'days') because I had to get off a train before I could sit down again lol. Github for all days: https://github.com/Bulkje/AdventofCode2021

  • 2021-advent-of-code

    Advent of Code 2021 puzzles

  • aoc-2021-in-kotlin

  • advent-of-code-kotlin

    Advent of code 2021 - Kotlin

    Kotlin solution using a fish counter map:

  • advent-of-code-2021

  • AdventOfCode2021

    My solutions for the Advent Of Code 2021 (by kasteelharry)

    My solution in Java

  • adventofcode-solutions

    🎄 Solutions to https://adventofcode.com/ in javascript

    C# code

  • AdventOfCode2021

    code

  • aoc2021

    Advent of Code 2021 (by ednl)

    Good ol' C code. Very simple program once you think of making a circular buffer from the population histogram by age bins, and simulating every day. I got stuck for a while trying to come up with a direct mathematical function which never gave me the exact number. The crux:

  • AOC2021

  • advent-of-code-2021

  • Python solution!

  • fp-ts

    Functional programming in TypeScript

    I've been using this as an opportunity to spend more time learning parts of FP-TS (https://github.com/gcanti/fp-ts)

  • advent-of-code-2021

    🦀 Rust solutions to AoC 2021 (by wfxr)

    Rust 4.4us Solution:

  • Advent_Of_Code_2021

    advent of code 2021 (by sticreations)

    Code in Github

  • toybox

    C# Quick and easy this week! Just needed to change one number to solve Part 2! https://github.com/LEPT0N/toybox/commit/8344ca9e88f58fec5bc96a00feb6f6f0796e61f1

  • aoc2021

    Advent of Code (2021 edition) (by Samplasion)

    Day 6 in TypeScript, the naive approach used for part 1 made my node vm crash twice, but the new approach brought the execution time down to <1ms

  • aoc

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

    As I suppose many of us (haven't read the thread yet), I wrote an elegant OO solution with a LanternFish and LanternSchool class that worked fine for part 1, but had no chance of doing part 2. (See GitHub.)

  • AoC-2021

    My solutions to advent of code 2021. (by Alexdruso)

    Super proud of my solution using Python + NumPy, which is considerably fast.

  • advent-of-code-2021

    AoC 2021 solutions in Python (by kmb5)

    Part 1 w/ nice-looking OOP (Python)

  • advent-of-code

    My solutions for Advent of Code (by besasam)

    Python. Figured part 2 would render a naive brute-force approach unusable (as it usually is with these kinds of puzzles) so I tried to come up with an efficient solution from the get go. Results pretty much instantly for both parts.

  • advent-of-code-2021

    🎄 My Advent of Code solutions in Rust. http://adventofcode.com/2021

    Part 1 0.0027ms (2.7μs)

  • advent-of-code-2021

    github - codesandbox

  • aoc2021

    Advent of Code, edition 2021, in Python (by qagren)

    My solution in python, partitioning the population by day until reproduction, and keeping track of the group dynamics through time.

  • AoC-2021

    Advent of Code 2021 code (by djm30)

    Here's my solution anyway, definitely learned a lot today.

  • aoc2021

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

  • advent_of_code_2021

    advent of code 2021 attempted with clojure (by jpe90)

  • aoc-2021-in-kotlin

  • advent-2021

  • adventofcode2021

    https://adventofcode.com/2021/about (by wbh1)

    Python3 using Counter from the Collections module. Runs in about 40ms. (Github)

  • aoc

    My solutions to the https://adventofcode.com/ (by vollcheck)

    My solution in Clojure, although need to perform some time on optimization as the current version is really slow... Feel free to suggest possible improvements

  • advent-of-code

    Advent of Code solutions (by ManDeJan)

  • adventofcode2021

    My solutions to adventofcode.com for 2021 (by cptwunderlich)

  • AdventOfCode2021

    Once again a BASIC solution. I was a little worried about computation times but it was quite doable after all

  • AdventCode

  • AdventOfCode2021

    My solutions to the Advent of Code 2021 puzzles. (by kemmel-dev)

    c# (.cs for ctrl+f users) implementation using a `dict`

  • AdventOfCode

  • aoc2021

    Source Writeup

  • adventofcode-2021

    Advent of Code 2021 solutions (by pille1842)

    Slightly altered this to work outside my repository. Total execution time for the actual puzzle input on my poor old PC was around 0.0003 seconds, so I'm quite pleased with my efficiency today in not caring about the life of single fish ;)

  • advent-of-code-2021

  • advent-of-code

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

  • aoc2021

    Advent of Code 2021 (by gustafe)

  • advent-of-code-2021

    🎄 Personal solutions for Advent of Code '21 in Rust. (by aquelemiguel)

    Yeah, I should've expected part 2 to have a ridiculous amount of fish... I went with a HashMap for saving how many fishes were at ages 0-8 each day. These are my favourite types of exercises, simple code and the solution is not immediately apparent. Cleanest code yet! GitHub

  • advent-of-code

    Advent of Code Solutions (by karjonas)

    Rust GitHub

  • advent_of_code

    GitHub Link

  • advent-of-code

    My solutions to the Advent of Code (by aaronreidsmith)

    Scala

  • aoc2021

    Advent of Code 2021 (by krmaxwell)

    Like most other folks, I did the naive approach for part 1 and then part 2 was untenable. Props to everyone who did the smart thing from the beginning. As always, my full code including tests is on Github.

  • AOC2021

    Advent of Code 2021 (by Rakicy)

  • advent-of-code

    Racket https://github.com/whiter4bbit/advent-of-code/blob/master/2021/day6.rkt

  • AdventOfCode

    Playing around with http://adventofcode.com/ (by stormsweeper)

  • advent-of-code-2021

    🎄☃️ An advent calendar of small programming puzzles (by SwiftPush)

  • adventofcode

    My Advent of Code (adventofcode.com) solutions (by Laudian)

    Python 3: https://github.com/Laudian/adventofcode/blob/main/2021/06/day06_01.py

  • aoc_kotlin

    Advent of code solutions in Kotlin

    Code itself is here: https://github.com/madisp/aoc_kotlin/blob/main/src/main/kotlin/day6_fast.kt

  • advent_of_code

    Advent of Code solutions (by domm)

  • advent2021

    Advent of Code 2021 in Rust (by jeremylt)

  • cargo-aoc

    I use https://github.com/gobanos/cargo-aoc which is based on Criterion.rs. The measured time does not include parsing.

  • aoc-2021

    Advent of Code (AoC) 2021 solutions (by egel-lang)

    Egel

  • advent-of-code-2021

    My solutions to advent of code 2021 in deno/TS (by J-Swift)

  • AoC2021

    Advent of Code 2021 (by gereons)

  • AoC

    Advent of Code - My solutions, in multiple programming languages - See https://adventofcode.com/ (by gubatron)

  • advent_of_code_2021

    Advent of Code 2021 in Rust (by tslater2006)

  • Advent-of-code

    My solutions of adventofcode.com (by MichalMarsalek)

    Same approach as mine.

  • AdventOfCode2021

    I'm sure I could trim a bit of fat here, but why bother?

  • adventofcode2021

    I had a similar idea, but used a list instead of a map so I could do pattern matching on it to easily get the numbers and create the new list. GitHub (only look at part 2, part 1 is way too slow :D).

  • AOC2021

    Advent of Code 2021 solutions (by exscape)

  • adventofcode2021

    Part 2 in Julia. Tricky! I definitely did part 1 by modeling every fish before realizing how dumb that was.

  • aoc-2021

    Advent of Code 2021 in PHP (by soodssr)

    With each day puzzles are becoming more and more challenging and interesting. This is my solution using: PHP

  • adventofcode

    typescript: https://github.com/nesro/adventofcode/blob/master/2021-day-06.ts

  • code-challenges

    nodejs solution https://github.com/k-koehler/code-challenges/blob/master/adventofcode/2021/day6/lanternfish.js

  • advent-of-code-day-6

  • advent-of-code-2021

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

    So far the easiest day in Rust: https://github.com/pavel1269/advent-of-code-2021/blob/main/src/day06/mod.rs

  • aoc-2021

    Rust: github link I thought to group the fish right from the start so the second part involved no work. Clocks in at 175µs for part 2.

  • adventofcode

    Advent Of Code (by amrittuladhar)

  • AoC-2021

    Solutions to Advent of Code (https://adventofcode.com/2021) (by InfinityByTen)

    3 Solutions in Rust: Stupid, Big Brain and Sensible

  • Pyxell

    Multi-paradigm programming language compiled to C++, written in Python.

    Pyxell

  • Advent-of-code-2021-golang

    Advent of code 2021 Go solutions

  • aoc2021

    Advent of code 2021 in Kotlin! (by crnkofe)

  • AdventOfCode

    Advent of Code Solutions (by auxym)

  • AOC2021

    Advent of code solutions 2021 (by calebwilson706)

  • AdventOfCode2021

    Advent Of Code 2021 in Swift (by mcichecki)

    github

  • advent-of-code

    Advent of code solutions (by tallbikeguy)

  • https://gitlab.com/autra/adventofcode https://gitlab.com/feike/adventofcode https://github.com/dflss/advent-of-code-2021 https://github.com/qwesda/AOC2021-postgresql

  • https://gitlab.com/autra/adventofcode https://gitlab.com/feike/adventofcode https://github.com/dflss/advent-of-code-2021 https://github.com/qwesda/AOC2021-postgresql

  • advent-of-code-2021

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

    https://gitlab.com/autra/adventofcode https://gitlab.com/feike/adventofcode https://github.com/dflss/advent-of-code-2021 https://github.com/qwesda/AOC2021-postgresql

  • AOC2021-postgresql

    Advent of Code 2021 done with vanilla postgresql.

    https://gitlab.com/autra/adventofcode https://gitlab.com/feike/adventofcode https://github.com/dflss/advent-of-code-2021 https://github.com/qwesda/AOC2021-postgresql

  • Advent-of-Code

  • advent-of-code-2021

    Advent of code 22021 (by RansomTime)

  • aoc2021

    Advent of Code, 2021 (by LactoseGK)

    Code for today here.

  • AdventOfCode2021

  • advent_of_code

    My attempts to solve https://adventofcode.com (by shrugalic)

    Group the fish by their timer, which can be anything from 0 to 8. The neat part is the rotate_left to decrease the timers of each group. Fish with timer 0 will automatically end up at timer 8, and so the only thing left to do is adding another copy with timer 6. Core function: rust fn multiply(timers: Vec, generations: usize) -> usize { // Index equals timer value, so index 0 contains the count of fish with timer 0 let mut counts_by_timer = vec![0usize; 9]; timers.into_iter().for_each(|f| { counts_by_timer[f] += 1; }); for _ in 0..generations { // A left rotation represents the timer (=index) decreasing by 1. // The fish with timer 0 will not only produce new fish with timer 8, // but also reset their timer to 6 let count_of_fish_with_timer_0 = counts_by_timer[0]; counts_by_timer.rotate_left(1); counts_by_timer[6] += count_of_fish_with_timer_0; // == counts_by_timer[8] } counts_by_timer.into_iter().sum() } Full code at Github

  • advent-of-code-2021

  • advent-of-code-2021

    Solutions for the Advent of Code 2021 puzzles (by lucashmsilva)

  • aoc-typescript

  • AdventOfCode2021

    Python: under 0.5 ms for both solutions https://github.com/bluhb/AdventOfCode2021/blob/master/Project/Day6/main.py

  • advent-of-code-2021

    advent of code 2021 solutions (by simorautiainen)

    Python 3 Got my solution running in less than 1ms using Counters

  • AdventOfCode

    I'm just horrible at formatting my code... So I figured I would post the link. Anyway, one of my first attempts at F#, and I love it :D https://github.com/ClaerhoutN/AdventOfCode/blob/master/AOC_2021_6/Program.fs

  • Advent_of_Code

    My Advent of Code solutions.

    My solution in Python. Today was fun and very easy. I immediately came to the same conclusion as others here to simply count the number of fish per age group.

  • AdventOfCode

    Advent of code daily challenge (by WilliamLP)

    My other solutions are here: https://github.com/WilliamLP/AdventOfCode/tree/master/2021

  • AdventOfCodeRust2021

    Code related to Advent of Code 2021 using Rust

    My solution in Rust, took 158seconds to finish part 2 using multithreaded programming. 3ms for getting the solution to 80 days, pretty proud (day 6 of using Rust as well). I first tried to find exponential rate, but to no avail (I came pretty close)

  • AdventOfCode2021FSharp

    Solutions for Advent of Code 2021 in F#

    Here's my solution using F# and Jupyter Notebook. Took the approach many people took here to keep track of the sum of fishes at for each timer value. Then step through each day.

  • fish-shell

    The user-friendly command line shell.

    A fitting solution to the lantern fish puzzle in fish code.

  • AdventOfCode2021Kt

  • adventofcode

    Julia: I had fun re-writing my original solution (which used bins) with a memoized recursive call.

  • Advent-of-Code

    This repo contains my answers for the 25 days of coding challenge at https://adventofcode.com (by BeckTimothy)

    View my code on Github: https://github.com/BeckTimothy/Advent-of-Code/blob/master/2021/12-06-21/challenge-1/script.js

  • adventofcode

    Some flavors of implementations for the Advent of Code challenges (by gansanay)

    Python 3: a quite expected implementation for both parts, using a dict

  • aoc2021

    Advent of Code 2021 (by Legolaszstudio)

  • ride

    Remote IDE for Dyalog APL

  • advent-of-code-my-solutions

    These are my solutions for the advent-of-code puzzles. For 2021, in bash (for now)

    As I see there is no bash solution yet, here is mine: https://github.com/ColasNahaboo/advent-of-code-my-solutions/blob/main/bash/2021/days/d06-1.sh Runs in less than 100ms. It is a linear solution with bins, but the bins are not based on the fishes timers. There is a bin for each day, with the number of timers reaching zero ==> fishes born on the next day.

  • Advent-of-Code-2021

    My Participation for the Advent of Code 2021 (by niristius)

    Part 1 and 2 Combined

  • AdventOfCode2021

    C# https://github.com/Joamoi/AdventOfCode2021/blob/main/Day6/Program.cs

  • Github

  • AoC

    Advent of Code (by Marterich)

    https://github.com/Marterich/AoC/blob/main/2021/day06/solve.py

  • AdventOfCode2021

    [gitHub - focus on readability](https://github.com/KorbinianSchuster/AdventOfCode2021/blob/master/6/6.py)

  • Advent_of_Code_2021_Solutions_Java

    Personal AoC/2021 Solutions in Java

  • AdventOfCode2021

    GitHub

  • advent-of-code

    Rust

  • AdventOfCode2021

    After having a solution in Python (which looks like everybody else's solution ;) (https://github.com/sotsoguk/AdventOfCode2021/blob/36c224078a3370e5ea8383a74f71f1a334ed1077/python/day06/day06.py)

  • advent-of-code-2021

    Advent of Code 2021 Submissions (by mariotacke)

  • adventofcode

    Keeping newborn fish in a different array makes things easier to follow.https://github.com/EnisBerk/adventofcode/blob/master/day6/tools.py

  • AdventOfCode2021.jl

    Advent of Code 2021 in Julia

  • AdventOfCode

    Solutions to the Advent of Code puzzles from https://adventofcode.com/ (by HashTag42)

  • adventofcode-2021-solutions

    Solutions for Advent of Code 2021 edition

  • adventofcode

    My solutions to the Advent of Code challenges (by djotaku)

    That's what I did for part one. Didn't find it necessary for part 2

  • CodingExercises

    A variety of coding exercises for practice and to learn new languages

    I moved the index to the "zero days left" slot on by 1 each day (conceptually anyway), instead of moving any values: My Rust solution

  • advent-of-code

    adventofcode.com adventures (by yorhodes)

    rust https://github.com/yorhodes/advent-of-code/blob/master/2021/day6/src/main.rs love when this happens fn main() { println!("part 1: {}", part_1(DATA, 80)); println!("part 2: {}", part_1(DATA, 256)); }

  • advent-of-go

    advent of code 2021. solving what I can in Go otherwise solving in javascript

  • aoc2021

    Advent of Code 2021 (by jslepicka)

  • advent

    Git mirror of https://bitbucket.org/sjl/advent (by sjl)

  • advent-of-code-2021

    solved it pretty fast with an object, then realized that using an object/hashtable with 0-8 as keys is pretty much the same as using an array. But whatever. github link

  • advent-of-code

  • AdventofCode

  • advent-of-code-2021

    Advent of Code 2021 code challenge solutions. Kotlin this year! (by aormsby)

    My Kotlin solution

  • aoc2021

    Solutions to Advent of Code 2021 (by jubnzv)

    OCaml solution:

  • AdventofCode

  • AoC

    Advents of Code in NASM x86_64 assembly (by JustinHuPrime)

    Part 1 was a direct stating of the problem - I read in all of the fish, and for eighty iterations, applied the simulation rules.

  • advent-of-code

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

    You can also add https://github.com/xocolatl/advent-of-code/ to your list (it's https://twitter.com/pg_xocolatl a pg contributor). He was such an inspiration to me last year.

  • advent-of-code

    My personal entry for https://adventofcode.com/ (by SigJig)

    Python Implementation

  • AdventofCode2021

    Python Part 1 and Part 2

  • OffsetArrays.jl

    Fortran-like arrays with arbitrary, zero or negative starting indices.

    You might be interested in OffsetArrays.jl.

  • advent-of-code-2021

    My solutions to https://adventofcode.com/2021 (by plan-x64)

  • aoc-2021-clj

    Catching up from a set back on day 5 (I almost had a working sweep algorithm but gave up) and the weekend in general. Here's the Clojure source and tests. As usual, feedback welcome!

  • My F# solution.

  • advent-of-code

    Full code: https://github.com/nicuveo/advent-of-code/blob/main/2021/haskell/src/Day06.hs Stream: https://www.twitch.tv/videos/1227052466

  • AdventOfCode2021

    🎄 Advent of Code 2021 https://adventofcode.com/2021/ (by vivianamarquez)

  • advent-of-code-2021

    Have fun with Clojure on Christmas 2021. (by hiepph)

    Super short solution in Clojure. I have a write-up for explaining the process of optimizing the algorithm.

  • advent-of-code

    solutions for Advent of Code (by micod-liron)

  • AdventOfCode2021

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

  • advent-of-code

    Nice! I got stuck with part2, I didn't realize that you can count per day and tried to solve it as exponential growth math problem. Eventually, I looked at your solution and got the idea. Here's my version. First time doing aoc and new to Scala.

  • Advent-of-Code-2021

    GitHub/Lanternfish.java

  • AdventOfCode2021

    AdventOfCode 2021 solutions (by Meldanor)

  • adventofcode

    Advent of Code Solutions (by spenpal2000)

    [Source Code]

  • aoc

    Advent of Code (by c-kk)

  • adventofcode2021-day6

    Day 6 of Advent of Code using Clojure

    I did this day in Clojure. The secret is in the function naming. justinhj/adventofcode2021-day6

  • adventofcode2021

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