-🎄- 2021 Day 4 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

    Discontinued Advent of code 2021 in JS (by TheAngularGuy)

  • advent-of-code

  • here is full source

  • 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
  • Advent-of-code

    My solutions of adventofcode.com (by MichalMarsalek)

  • I first did id in plain Nim but I wished I was doing it in Python's numpy. Than I remebered I heard about a similar project for Nim and so I'm learning arraymancer now:

  • AdventOfCode2021

  • Python implementation on GitHub

  • advent-of-code-kotlin

    Advent of code 2021 - Kotlin

  • Kotlin solution for Day 4, leverages OOO a lot.

  • advent-of-code

  • My solution in rust. Performance as reported by the criterion benchmark:

  • aoc2021

    Advent of Code, 2021 (by gkwaerp)

  • My repo can be found here, if you're curious =)

  • 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
  • Exploding and giving coordinates number to everything is actually the road I have chosen here. It's a bit more cumbersome at first, but the rest is very idiomatic sql (in my opinion). (my solutions are here if you're curious)

  • So far my favorite sql solution is this one: https://gitlab.com/feike/adventofcode/-/blob/master/2021/day04/04-2.sql

  • adventofcode

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

  • TypeScript Solution, under 50 lines, single function for both the parts.

  • aoc-21

    Advent of Code 2021

  • My cpp solution: https://github.com/giorgosioak/aoc-21/tree/main/04

  • adventofcode2021

  • Python p1 & p2, I was really happy with my approach initially but then I kinda screwed the pouch while using dictionaries. Overall it was kinda fun.

  • AdventOfCode

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

  • Python. 30th on part 1; 15th on part 2. Video of me solving.

  • AdventOfCode

  • python 372/225

  • aoc2021

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

  • Rust -- Happy with how my code turned out for today. I used nalgebra's Matrix5 for storing the boards, which made checking for wins pretty easy.

  • aoc2021

    Advent of Code 2021 Solutions (by nlowe)

  • Go, 1437 / 1664

  • advent-of-code

    Code for the Advent of Code event (by Sharparam)

  • My Ruby solution

  • AdventOfCode2021

  • aoc

    My Advent of Code solutions (by vypxl)

  • Python 3 724/655

  • AdventOfCode

  • advent2021

    Advent of Code 2021 (by moink)

  • Python 3, with numpy.

  • advent-of-code-2021

    AOC in go (by alextanhongpin)

  • AoC

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

  • python3

  • Advent-of-Code

  • TypeScript and Lodash https://github.com/AlmogAdziashvili/Advent-of-Code-2021/blob/master/days/4/solve.ts

  • lodash

    A modern JavaScript utility library delivering modularity, performance, & extras.

  • TypeScript and Lodash https://github.com/AlmogAdziashvili/Advent-of-Code-2021/blob/master/days/4/solve.ts

  • Advent-of-Code

    Advent of Code (by michaeljgallagher)

  • Messy; misreading the directions caused me to scramble. I'll try to clean this up and maybe make it more efficient in the morning

  • advent-of-code-2021

    My solutions for Advent of Code 2021 tasks (by Jozkings)

  • Python 3.7 (652/709)

  • ok

    An open-source interpreter for the K5 programming language. (by JohnEarnest)

  • oK

  • AdventOfCode-Java

    adventOfCode(Language.JAVA);

  • AdventOfCode2021

    Solutions to all 25 AoC 2021 problems in Rust :crab: Less than 100 lines per day and under 1 second total execution time! :christmas_tree:

  • Link to full solution

  • advent-of-code-2021

    Advent of Code 2021 Submissions (by mariotacke)

  • AdventOfCode2021

  • advent_of_code

  • github

  • aoc2021

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

  • advent-of-code-go

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

  • Solution in Go: https://github.com/alexchao26/advent-of-code-go/blob/main/2021/day04/main.go

  • advent-of-code-2021

    Advent of Code 2021 (by bennuttall)

  • Python: https://github.com/bennuttall/advent-of-code-2021/blob/main/04/04.ipynb

  • advent-of-code

    Advent of Code stuff (by Ocawesome101)

  • aoc2021

  • GitHub

  • aoc2021

  • https://github.com/jackdreilly/aoc2021/blob/main/d4b.py Immutable recursive approach, using cached_property and dataclasses for readability and sanity

  • advent-of-code-2021

  • aventofcode

    My solutions for Advent of Code

  • Python 3 using numpy and sets https://github.com/moprak/aventofcode/blob/master/2021/4.py. Notes: 1) I really should internalize zip(*board) for the transpose, but numpy makes things easy enough.

  • AoC-2021

  • C++ Part 1 and Part 2

  • advent-of-code

  • Common Lisp.

  • advent-of-code-2021

    AoC this year exclusively with Ruby (by georgiee)

  • georgiee/advent-of-code-2021/day-04 (GitHub)

  • AdventOfCode

  • advent-of-code

    A collection of small programming puzzles at Christmas (by aaronireland)

  • Python solutions

  • advent-of-code

    Advent Of Code Solutions (by sreedevk)

  • aoc2021

    Advent of Code 2021 (by UnicycleBloke)

  • aoc2021

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

  • AdventOfCode2021Kt

  • advent-of-code

  • Advent-of-code-2021

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

  • aoc2021

    Advent of code 2021 in Rust! (by lu-reit)

  • My Rust (github) solution.

  • AdventOfCode

    My Advent of Code solutions throughout the years. Mainly C#. (by hymccord)

  • aoc-2021

    Advent of Code 2021 (by serycjon)

  • common lisp

  • adventofcode

    Advent of Code challenge solutions (by flwyd)

  • Raku

  • aoc

    Advent of Code - Rust edition 🦀 (by hkennyv)

  • Would love some feedback on my board implementation if anyone has the time. Or, specifically, my has_bingo method below. Is there a better way to check for bingo?

  • adventofcode

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

  • My Scala solution.

  • adventofcode

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

  • aoc2021-rust

    Advent of Code 2021 in Rust

  • adventofcode

    Advent of Code solutions (by jjclark1982)

  • Python3 and NumPy, without modifying the boards in memory.

  • aoc-rust

    Solutions for Advent of Code puzzles, written in Rust

  • Helper functions parse_input(), and Board::numbers_to_win(), checksum() are in here to avoid creating a wall of text.

  • aoc

    Advent of Code solutions (by sjmulder)

  • Nasty C# with Linq

  • AoC2021

    Advent of Code 2021. A Rusty submarine? (by wilkotom)

  • advent-of-code

    AOC solutions 🎄🍵 (by masmeert)

  • Pretty happy with this one ``` def solve() -> List[int]: seen = [] won = [] scores = [] for n in NUMS: seen.append(n) for board in BOARDS: transpose = list(zip(*board)) for i, line in enumerate(board): if (all(num in seen for num in line) or all(num in seen for num in transpose[i])) and board not in won: won.append(board) scores.append(sum(sum(num for num in line if num not in seen) for line in board) * seen[-1]) return scores

  • A simple iterative approach in python :)

  • adventofcode2021

    Advent Of Code 2021 Solutions (by agardes)

  • It's way messier than I hoped. Javascript solution

  • AdventOfCode2021

  • Rust

  • AdventOfCode

  • adventofcode

    Advent of code (by Peter554)

  • Python

  • adventofcode2021

    Advent of Code 2021 (by r0f1)

  • aoc2021

    Advent of Code 2021 (by jenarvaezg)

  • advent-of-code-2021

    advent of code 2021 solutions (by simorautiainen)

  • PYTHON. I did first version without Numpy but decided that its way too useful so I did some refactoring and below is my solution. It's a bit slow so not the most optimal.

  • aoc2021

    Advent of Code 2021 (by foolnotion)

  • C++ solution using Eigen: github

  • rockstar

    The Rockstar programming language specification

  • I just looked up https://codewithrockstar.com/ and absolutely lost it at "Tommy used to work on the docs."

  • AOC.NET

    Advent of Code .NET Solutions repository

  • Using Linq and AoCHelper. See full code here.

  • advent-of-code

    Solutions to Advent of Code challenges. (by 8483)

  • aoc2021

    Discontinued Advent of Code 2021 solutions (by jameshoffmann)

  • Part1: https://github.com/jameshoffmann/aoc2021/blob/main/day4/part1.js

  • adventofcode.com

    Practising Haskell with AdventOfCode.com puzzles (by sangster)

  • advent-of-code-2021

  • link

  • full source code with imports and type annotations

  • AdventOfCode2021

    Advent Of Code 2021 solutions in Pluto/Julia (by zabirauf)

  • AdventOfCode2021

    Advent of code 2021 (by marcodelmastro)

  • aoc2021

  • advent-of-clojure

    clo clo clo

  • Clojure, using (almost) exclusively set logic. Looking at the other solutions, it could have probably been simplified, but I'm somehow compelled to use sets whenever I get the chance.

  • aoc2021

    Advent of Code 2021 - my answers

  • Haskell 7093/6593

  • advent-of-code

  • Haskell A bit verbose, but I think a quite readable and clean solution: https://github.com/Petrosz007/advent-of-code/blob/master/2021/day-4/day4hs/Day4.hs

  • aoc2021

    Discontinued Advent of Code 2021 (by ednl)

  • C, which takes some bookkeeping but it can be fast. I didn't push for every last drop of speed but still: about 3 ms on a Raspberry Pi 4 (1.8 GHz overclock, Buster desktop, not very quiet so I picked a good run). Code with lots of comments

  • Advent_of_Code_2021_Solutions_Java

    Personal AoC/2021 Solutions in Java

  • https://github.com/justme789/Advent_of_Code_2021_Solutions_Java/

  • aoc2021

    Advent of Code 2021 (by sotolf2)

  • aoc2021-v01

    Discontinued My solutions for Advent of Code 2021 - https://adventofcode.com/2021

  • Using Rust - my day 4 solution here

  • advent-of-code

    My solutions to the Advent of Code (by aaronreidsmith)

  • A functional Scala solution using tail recursion. Most of the code is setting up case classes and parsing the input, the actual "business logic" is fairly concise, imo.

  • adventofcode2021

  • Part 1: https://github.com/xBracey/adventofcode2021/blob/main/src/day4/index.ts Part 2: https://github.com/xBracey/adventofcode2021/blob/main/src/day4/part2.ts

  • advent-of-code-2021

  • Part 1 (GitHub) Part 2 (GitHub)

  • adventOfCode2021

  • Part 1: https://github.com/Charlesworth/adventOfCode2021/blob/main/typescript/day4/part1.ts Part 2: https://github.com/Charlesworth/adventOfCode2021/blob/main/typescript/day4/part2.ts

  • advent-of-code

    more puzzles - advent of code (by oli5679)

  • I don't know what you think about using external libraries, but you can avoid lots of double for loops if you represent the board, and the matche,s as numpy arrays. Here is some of my code. https://github.com/oli5679/advent-of-code/blob/master/2021/04.ipynb

  • CSpydr

    A static typed low-level compiled programming language inspired by Rust and C

  • (CSpydr is my own programming language written in pure C)

  • adventofcode

    Advent of Code https://adventofcode.com/ (by yulrizka)

  • advent-of-code-2021

  • advent-2021

    🎄 Advent of Code 2021: Solutions in Scala

  • I made a stateless solution, with the board a List[List[Int]].

  • programming-challenges

    My attempts at solving various programming challenges. Leetcode, codewars, adventofcode, etc (by x-zvf)

  • full solution

  • aoc2021

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

  • My solution in Python, using a stateful approach that amounts to object-oriented programming.

  • advent-of-code

    (Work in progress) Python solutions for Advent of Code programming puzzles. (by fedecalendino)

  • 🐍️ solution

  • AOC2021

    Advent of code solutions 2021 (by calebwilson706)

  • adventofcode

    Advent of code solutions (by mathsaey)

  • aoc2021

  • adventOfCode

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

  • AoC

    My Advent of Code solutions. (by hashworks)

  • Rust, nothing fancy.

  • advent_of_code

    Advent of Code solutions (by domm)

  • advent-of-code-2021

    My solutions to the 2021 Advent of Code. (by joek13)

  • GitHub

  • aoc2021

  • Source Code

  • AdventOfCode2021

    Advent of Code 2021 (by SandstromHenrik)

  • Github code

  • aoc-2021

    Advent of Code 2021 (by mintopia)

  • Day 4 Code

  • Rust--Advent-of-Code

    Advent of Code 2021 in Rust

  • aoc2021

    Solutions for Advent of Code 2021 (by frerich)

  • Elixir

  • aoc2021

  • Scala 3

  • AOC-2021

  • C# - Parts 1 & 2 The second part was surprisingly short, copy paste of P1 but just had to change an if statement in the final for loop.

  • advent-of-code

  • aoc

    Discontinued Advent of Code tools and solutions (by rileythomp)

  • Go

  • AdventOfCode2021

  • adventofcode2021

    Discontinued Advent of Code 2021 [Moved to: https://github.com/thecircleisround/adventofcode] (by thecircleisround)

  • Python

  • AdventOfCode

    Advent of Code Solutions (by auxym)

  • advent-of-code

    Advent of Code puzzles (by KT421)

  • day four sollution

  • AdventOfCode

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

  • C# coming through here: https://github.com/kemmel-dev/AdventOfCode2021https://github.com/kemmel-dev/AdventOfCode2021/blob/master/day4/AoCDay4/AoCDay4/Program.cs

  • Advent_of_Code_2021

    My solutions to Advent of Code 2021 (by neelakantankk)

  • Python

  • AdventOfCode2021

  • AoC2021

    Advent of Code 2021 (by gereons)

  • Haven't seen any Swift solutions so far this year, so here's my attempt: https://github.com/gereons/AoC2021/blob/main/Sources/AdventOfCode/puzzle4.swift

  • adventofcode

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

  • aoc2021

    Advent of Code 2021 (by otsu81)

  • AOC2021

  • AOC-2021

  • Here's a C++ solution.

  • Advent-of-Code

  • Part 1: https://github.com/Sebbern/Advent-of-Code/blob/master/2021/day04/day04.py

  • adventofcode-2021

    Advent Of Code 2021 (by split)

  • Part 1 and 2 in Haskell. About 30 lines of code

  • AdventOfCode

    http://adventofcode.com (by kkirsche)

  • advent-of-code-2021

    AoC 2021 solutions in Python (by kmb5)

  • Python with OOP and lots of comments (both parts)

  • AdventOfCode2021

  • advent-of-code-2021

    My Kotlin solution for AoC 2021 (by henningBunk)

  • Kotlin Solution / KoTest Tests

  • advent-2021

    Advent of Code 2021 solutions (by OmarAssadi)

  • Main Code: Day4.java

  • AdventOfCode2021

    A collection for my Advent of Code (www.adventofcode.com) solutions using Nim, Julia, and Python programming languages (by genius487)

  • [Nim](https://github.com/genius487/AdventOfCode2021/blob/main/day04/n21d04.nim), [Python](https://github.com/genius487/AdventOfCode2021/blob/main/day04/p21d04.py), [Julia](https://github.com/genius487/AdventOfCode2021/blob/main/day04/j21d04.jl)

  • AOC2021

    advent of code 2021 (by zalazalaza)

  • python3 with numpy

  • adventofcode21

    2021 advent of code solutions

  • Doing this for the first time, in Ruby (still learning the language, code likely reflects that)

  • AdventOfCode2021

  • Part 1: https://github.com/SV-97/AdventOfCode2021/blob/main/Day_04_1/main.py

  • adventofcode-2021-solutions

    Solutions for Advent of Code 2021 edition

  • aoc2021

    Advent of code 2021 in Kotlin! (by crnkofe)

  • advent-of-code-2021

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

  • adventofcode

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

  • Python 3

  • aoc

    Advent of Code 2021 in Solidity and JS (by ethsgo)

  • Full code with the omitted parsing logic etc - https://github.com/ethsgo/aoc/blob/main/js/_04.js

  • advent2021

    advent woop woop (by gende0808)

  • PHP

  • advent-of-code-2021

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

  • Part 2 0.226ms

  • advent-of-code

    My Python 3 solutions for Advent of Code® with an emphasis on beautiful code (by bsoyka)

  • Did some nice Python OOP! Split into three files, part 1, part 2, and shared classes.

  • As a side note, I took inspiration from a post the other day about adding AoC badges to your repository README file. I use GitLab, which lets you define badges as properties of your repository. So I added badges to my repository's header area, driven by a JSON file in the repository. The JSON file is updated manually by a script. (I might add some automated updates at some point, but manual works okay for now.)

  • adventofcode

    Advent of code solutions (by julian-west)

  • Python solution day 4 OOP (GitHub). Probably not the fewest lines of code but uses dataclasses and OOP to manage the states of each bingo card

  • adventofcode2021

    Discontinued Advent of Code 2021 Challenge (by Maeevick)

  • advent-of-code

    coding challenges done as part of https://adventofcode.com/ (by Marijus)

  • adventofcode

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

  • advent-of-code-2021

    My solutions in Kotlin to the Advent of Code 2021 (by Tohnmeister)

  • My solution in Kotlin, using only immutable data, functional constructs and tail recursion. I'm sure any functional programming and algorithm expert could do this with less lines of code, but I'm happy with the result: https://github.com/Tohnmeister/advent-of-code-2021/blob/main/src/main/kotlin/nl/tonni/adventofcode2021/Day4.kt

  • aoc2021

    Advent of Code 2021 (by Legolaszstudio)

  • AoC-2021

  • Finally got around to do today's puzzle - F#: day04.fsx

  • adventofcode

    Discontinued Solutions (by ezyyeah)

  • also all of my solutions avaliable on my github adventofcode

  • AdventOfCode2021

    My Solutions for Advent of Code 2021 https://adventofcode.com/2021/ (by johnpmay)

  • solution at github

  • advent_of_code

    My solutions for each of the days of advent of code (by ddavis3739)

  • advent

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

  • Common Lisp https://github.com/sjl/advent/blob/master/src/2021/days/day-04.lisp

  • AdventOfCode2021

    Solutions of AoC 2021 in APL (by MikosJon)

  • Github

  • adventofcode

    Advent of Code! https://adventofcode.com/ (by dfontana)

  • Rust

  • AdventOfCode

  • advent-of-code

    Solutions to Advent Of Code (by DearRude)

  • Github

  • advent-of-code-2021

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

  • My Clojure solution. I also have a little write-up for solving the problem.

  • aoc-2021-clj

  • Clojure, source and tests. Any feedback welcome!

  • [GitHub Solution](https://github.com/daniel-meilak/Advent-of-Code-2021/blob/main/week_1/day_4/day_4.cpp)

  • AoC2021

  • aoc2021

    Advent of code 2021 (by simonbrahan)

  • Python!

  • AdventOfCode2021

    My solutions to the AdventOfCode 2021 in R🎄 (by JohannesFriedrich)

  • aoc-2021

    My solves for Advent of Code 2021 (by Djuk1c)

  • AdventOfCode2021

  • C# Part 1 and 2

  • advent-of-code-2021

    My solutions for Advent of Code 2021 (in C) (by KleberPF)

  • Solution

  • AdventOfCode

  • C++

  • advent-of-code

  • advent-of-code

    Javascript solutions to www.adventofcode.com (by DanFessler)

  • Haven’t seen a lot of JavaScript in here, so here’s mine: https://github.com/DanFessler/advent-of-code/tree/master/2021/04

  • advent-2021

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

  • Rust https://github.com/Crazytieguy/advent-2021/blob/master/src/bin/day4/main.rs

  • advent-of-code-2021

  • https://github.com/adarsh0d/advent-of-code-2021/blob/master/day4/day4.js - feels suboptimal, but I got right answer

  • advent-of-code

    Advent of code solutions (by tallbikeguy)

  • Advent-of-Code-2021

    My bros got chocc calendars and I didn't (sad) so I have to eat code for krismas every day. (by dziobex)

  • C++ Parts 1 & 2

  • adventofcode.sh

    Advent of Code 2020 and 2015, done in bash. Because why not?

  • Day 1 was 10 LOC, each day is adding about 10 LOC, so now I'm at 40. I don't like where this is heading. https://github.com/einarjon/adventofcode.sh/blob/main/2021/04.sh Small mistake in Part 2 so it starts the bingo from the beginning, but the first numbers are crossed out. Doesn't affect the result.

  • aoc-2021

  • GitHub link: https://github.com/brett-lempereur/aoc-2021/blob/main/day-4/solution.rkt

  • aoc

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

  • I used a BingoDrawing grammar to parse the numbers and cards, and BingoCard and BingoGame classes to implement the Bingo game. Code is much too long to include in a comment, so see GitHub.

  • adventofcode

  • Python OO I forgot to reset the boards for the second part, check it out yourself if you are having a problem. https://github.com/EnisBerk/adventofcode/blob/master/day4/main.py

  • advent-of-code

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

  • Solution in Javascript, fully functional with a bit of recursion

  • advent2021

    Advent of Code 2021 in Rust (by jeremylt)

  • Rust: Ouch, this one is slow https://github.com/jeremylt/advent2021/blob/main/src/day04.rs 552.623µs (Std Dev 32.275) locally, repl currently has some issue with an older version of Rust, so timings are WIP

  • advent-of-code

    Advent of code solutions (by rbusquet)

  • fun problem, but my worst solution. for loops overload: https://github.com/rbusquet/advent-of-code/blob/main/2021/04/day4.py

  • aoc2021

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

  • advent-of-code

    i've never finished one of these (by alchzh)

  • AdventOfCode

    Advent of Code Solutions over the years (by dmiller2606)

  • Python 3.10 Solution A & B Open to any suggestions, still learning Python. Could probably change the two for loops in the actual solution into a list comprehension to generate a list of completions and their scores...

  • advent-of-code-2021

    Advent of Code 2021 (by fullptr)

  • A fairly terse python solution (21 lines): https://github.com/MagicLemma/advent-of-code-2021/blob/main/day4.py

  • AdventOfCode2021

  • adventofcode

    Advent of Code solutions (by mrisoli)

  • Here's my solution:https://github.com/mrisoli/adventofcode/blob/master/python/2021/d4.py

  • AdventOfCode2021

    Advent of code solutiosn (by McSick)

  • advent-of-code

    Advent of Code! (by peckb1)

  • Day 04 Code

  • adventofcode2021

    Advent of Code 2021! (by rocksoftcode)

  • advent_of_code

  • Python using numpy: https://github.com/Limeman/advent_of_code/blob/master/day_4/part_2.py

  • advent-of-code-2021-in-go

    Teaching myself go via Advent of Code 2021!

  • adventofcode-2021

    adventofcode.com 2021 solutions using Rust

  • thanks - used your `nalgebra` tip for my solution :) https://github.com/dmitris/adventofcode-2021/blob/main/day04/src/main.rs

  • aoc_rust_2021

  • adventofcode

  • Python 3.8 solution Choosing the right Data structure can be life saving.

  • Advent-of-code-2021-golang

    Advent of code 2021 Go solutions

  • AdventOfCode2021

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

  • advent-of-code-2021

  • Solution for both parts

  • AdventofCode2021

  • advent-of-code-2021

  • Here’s my Ruby solution: https://github.com/poblouin/advent-of-code-2021/blob/main/04/solution.rb

  • aoc2021

  • Java: https://github.com/jaredculp/aoc2021/commit/d9ba191cda3595a9b7206bb6b1a89a2e700f947c

  • AdventOfCode2021

  • I enjoyed today’s. More fun with the Pointfree swift parsing and overture libraries. Trying to improve my functional programming chops a bit. https://github.com/lukeredpath/AdventOfCode2021/blob/main/Sources/AdventOfCode2021/04.swift

  • Advent_of_Code_2021

    Advent of code challenge, 202 (by FlorianG-dev)

  • Here is the formated code. There are the puzzles input also, the true one and the example. If you find where I failed, I owe you one!

  • advent-of-code

    Solutions for Advent of Code puzzles (by aweneer)

  • C# GitHub

  • day4

  • adventofcode_2021

    My solutions for AoC21 in R and Julia

  • R / Rstats: Code

  • AdventOfCode2021

  • Python 3.8, classes approach: https://github.com/deshudiosh/AdventOfCode2021/blob/master/day04/day04.py

  • AdventOfCode2021

  • AdventOfCode2021.jl

    Advent of Code 2021 in Julia

  • advent-of-code-2021-python

    Code puzzles from https://adventofcode.com for Dec 2021

  • aoc2021

  • advent_of_code_2021

    Discontinued Personal repor for avent of code 2021 - C++ (by thetomato2)

  • C++

  • advent-of-code-2021

    Discontinued Trying to solve https://adventofcode.com/ [Moved to: https://github.com/ThePituLegend/advent-of-code] (by ThePituLegend)

  • advent_of_code

    Solutions to programming puzzles on Advent of Code (by Praful)

  • This was one of those instances when the solution to part 1 could be mostly used for part 2. I just had to delay returning the result until the list of winners so far matched the number of boards. So I'll show part 2 only but both solutions are on GitHub.

  • Advent-of-Code-2021

    Advent of Code Solutions 2021 in Python (by DenverCoder1)

  • advent_of_code_2021

  • Elixir

  • Advent-Of-Code

    Discontinued Advent of code 2021 (by ffamilyfriendly)

  • challenge 2 I'm sorry

  • advent-of-code-2021

  • repo

  • aoc_ts

    Discontinued 🎄 Advent of code solutions written in TypeScript for Deno. [Moved to: https://github.com/N8Brooks/deno_aoc]

  • advent-of-code

    All my advent of code projects (by snowe2010)

  • github

  • aoc2021

    Advent of Code 2021 (by krmaxwell)

  • This one kicked my ass for a while, which was confusing because the tests all passed fine with example data. Eventually I tracked down the problem to the way I was reading in the actual puzzle input... I should've known. Anyway, in addition to the [Github repo](https://github.com/krmaxwell/aoc2021/master/day4] with full tests and stuff, here's the core answer:

  • aoc

  • Python with no external libraries and C++ Python C++

  • advent_of_code_2021

  • advent-of-code

    Advent of Code challenges over the years (by jordangarrison)

  • Go day 4: GitHub

  • aoc2021

  • Go / Golang Tutorial Blog Post.

  • aoc2021-4_giant_squid

    My solution of the Advent of Code 2021, Day 4 puzzle: Giant Squid

  • advent-of-code-2021

  • python p1 & p2: https://github.com/jabadia/advent-of-code-2021/tree/main/d04

  • aoc-typescript

  • AoC

    Advent of Code (by Marterich)

  • adventofcode

    Yearly advent coding challenge at https://adventofcode.com/ (by emilbratt)

  • Completed with no external libs, no if statements and to much free time this weekend https://github.com/emilbratt/adventofcode/tree/main/2021/4

  • Advent-of-Code

    C# solutions for Advent of Code puzzles (by DjolenceTipic)

  • not my proudest C# solution

  • advent-of-code

  • I've been writing the parsing functions in a utility library for Advent of Code as I worked through all of the stars. The parser is here https://github.com/blake-watkins/advent-of-code/blob/main/parser.lisp

  • advent-of-code-2021

    Rust implementations for https://adventofcode.com/2021 (by pk-nb)

  • Rust, Part 1 and 2

  • advent-of-code-2021

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

  • AdventCode

  • AdventOfCode

  • adventofcode

    Advent of Code Repo for Zach Attakk (by ZachAttakk)

  • Here's the code for Part 1 and 2, along with my notes while I was coding.

  • Though I've been doing this year in F#, I decided to give parallelism in C# (my "native tongue", if you will) a go in day four, just to see if it made a significant difference.

  • AdventofCode

  • AoC-2021

    My advent of code solutions for 2021 (by ysbakker)

  • AoC

    Advents of Code in NASM x86_64 assembly (by JustinHuPrime)

  • Part 1 was fairly nice, but I did need to write several functions to check if a board won.

  • advent-of-code

    solutions for Advent of Code (by micod-liron)

  • BoardNumber BingoBoard Day04of2021

  • advent-of-code

    My Advent of Code adventures! (by LyleiLanar)

  • I have two files: day_4.rb for the Game class. It has some methods and etc. for the game. Run this file for the result! board.rb for the Board class. It's for handling a board.

  • AdventOfCode2021

    AdventOfCode 2021 solutions (by Meldanor)

  • advent-of-code-2021

    Discontinued Advent of Code - 2021 (by dkhundley)

  • aoc

    Advent of Code (by c-kk)

  • 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