-๐ŸŽ„- 2021 Day 1 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
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • GitHub repo aoc2021

    Solutions to Advent of Code 2021 (by jubnzv)

    A simple and stupid OCaml solution w/o any third-party libraries :)

  • GitHub repo aoc2021

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

    Rust, quite slow though, because the script I had to get the input automatically didn't use EST initially and I had to fix it, losing like 5 minutes. But was quite easy with Itertools::tuple_windows (though array_windows in std would have been even nicer, once that lands on stable).

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

  • GitHub repo advent-of-code-2021

    zig solutions to advent of code 2021 (by jchevertonwynne)

  • GitHub repo BQN

    An APL-like programming language. Self-hosted!

    Here is link number 1 - Previous text "BQN"

  • GitHub repo advent-of-code

    Advent Of Code Solutions (by sreedevk)

  • GitHub repo AdventOfCode2021.jl

    Advent of Code 2021 in Julia

    function day01(input::String = readInput(joinpath(@__DIR__, "..", "data", "day01.txt"))) reports = parse.(Int, split(input)) part1 = count(a > b for (a, b) โˆˆ zip(reports[2:end], reports[1:end-1])) sums = [a + b + c for (a, b, c) โˆˆ zip(reports[1:end-2], reports[2:end-1], reports[3:end])] part2 = count(a > b for (a, b) โˆˆ zip(sums[2:end], sums[1:end-1])) return [part1, part2] end Github: https://github.com/goggle/AdventOfCode2021.jl/blob/master/src/day01.jl

  • GitHub repo AoC2021

    Advent of Code 2021 in F# (by kimvais)

    Here is link number 1 - Previous text "F#"

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

  • GitHub repo adventofcode

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

    My solution is here.

  • GitHub repo Advent-of-code

    My solutions of adventofcode.com (by MichalMarsalek)

    on the matter of tips: - there are "functional" solutions using zips and filters which are shorter. An example with a very nice setup here: https://github.com/MichalMarsalek/Advent-of-code - there is a possible optimization for second part (you will find it explained in the blogpost above).

  • I'm actually doing this in F# this year, to learn F#, but I felt like solving it in one line in python just for fun.

  • GitHub repo Advent-of-Code-2021

    Did somebody say Shakespeare Programming Language? (by SansCipher)

  • GitHub repo adventofcode

    Advent of code solutions (by julian-west)

    Python day 1 solution (GitHub). Using Numpy's convolve function for sliding window calculation

  • GitHub repo Advent-Of-Code

    Combination of all advent of code years done starting 2021 (by Anshuman-UCSB)

  • GitHub repo AdventOfCode

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

    I got 12th on part 1 and 55th on part 2. Video of me solving: https://youtu.be/pkLfyRwDMMw. Python3 code: https://github.com/jonathanpaulson/AdventOfCode/blob/master/2021/1.py

  • GitHub repo adventofcode

    Answers to Advent of Code (by viceroypenguin)

  • GitHub repo AdventOfCode2021FSharp

    Solutions for Advent of Code 2021 in F#

    Here's my solution in F#.

  • GitHub repo AdventOfCodeCSharp

    My AoC Solutions

  • GitHub repo advent

    ๐ŸŽ„ My 2019, 2020, and 2021 Advent of Code solutions

    Here's mine using Rust iterators

  • GitHub repo Advent-of-Code

    Solutions to Advent of Code challenges (by StasDeep)

    Python 3, 628/611

  • GitHub repo Advent_of_Code_in_Pascal

    My solutions to the Advent of Code, in Free Pascal

    Pascal 3362/2895

  • GitHub repo AdventOfCode2021

    My solutions for the 2021 Advent of Code problems. (by Goldenlion5648)

    Python (849/602)

  • GitHub repo advent-of-code

    My solutions for adventofcode.com (by mdwhatcott)

    Clojure

  • GitHub repo adventofcode

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

    My Scala solution.

  • GitHub repo advent-of-code

    For sharing my adventofcode.com solutions (by kbielefe)

    Scala 3

  • GitHub repo AdventOfCode2021

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

    Link to solution

  • GitHub repo adventofcode

    Advent of Code challenge solutions (by flwyd)

    Raku (neรฉ Perl 6) - Source including file reading and output printing

  • GitHub repo AoC2021

    Programs for Advent of Code 2021 (by Perska)

    C# https://github.com/Perska/AoC2021/blob/master/AoC2021/Days/Day01.cs

  • GitHub repo Advent-of-Code

    Advent of Code (by michaeljgallagher)

    Nothing fancy

  • GitHub repo advent-of-code-2021

    Solutions for Advent of Code 2021, written in JavaScript using node.js (by johnbeech)

  • GitHub repo Advent-of-Code-2021

    My solutions for Advent of Code 2021 (by kermitnirmit)

    Pretty simple day 1! I took so darn long to remember how pandas worked. My solution / used zip to shift and compare as well as using pandas' rolling sum feature for part 2

  • GitHub repo aoc2021-haskell

    full solution

  • GitHub repo aoc2021

    GitHub: https://github.com/caderek/aoc2021/tree/main/src/day01

  • GitHub repo AoC

    code related to Eric Wastel's challenge (by mendelmunkis)

    C

  • GitHub repo aoc2021

    Advent of Code 2021 Solutions (by nlowe)

    Go, 653/1522

  • GitHub repo advent2021

    My Solutions to Advent of Code 2021 in Elixir (by ericgroom)

    Full Code

  • GitHub repo Advent-of-Code

    HASKELL

  • GitHub repo aoc2021

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

  • GitHub repo aoc

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

  • GitHub repo adventofcode

    Advent of Code (http://adventofcode.com) solutions written in Python 3 (by viliampucik)

    Python 3 - Minimal readable solution for both parts [GitHub]

  • GitHub repo aoc

    Advent of Code solutions (by rootbeersoup)

    Part 1

  • GitHub repo advent-of-code-2021

    Solutions to Advent of Code 2021 (by warriordog)

    Javascript [Part 1] [Part 2]

  • GitHub repo adventofcode

    Elm https://gitlab.com/sakisan/adventofcode/-/blob/2021/Elm/Day01.elm (didn't do any clean up after it got me the answer)

  • GitHub repo Advent-of-Code-2021

  • GitHub repo advent-of-code-2021

    Common lisp solutions to Advent of Code 2021 (by blake-watkins)

    Common Lisp 365/3502

  • GitHub repo AoC21

    advent of code 2021 (by BobekJosef)

    C++

  • GitHub repo advent-of-code

    Solutions for Advent of Code problems in various languages. (by Andrew-William-Smith)

    Solution on GitHub

  • GitHub repo aoc2021-rust

    Advent of Code 2021 in Rust

  • GitHub repo AoC2021

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

  • GitHub repo aoc2021

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

  • GitHub repo advent2021

    Advent of Code 2021 in Rust (by jeremylt)

    Pretty straightforward Rust solution https://github.com/jeremylt/advent2021

  • GitHub repo factor

    Factor programming language (by factor)

    This year, I'm hoping to write solutions in both Factor and Red.

  • GitHub repo advent-of-code

    My solutions to all years of Advent of Code (by CodingAP)

  • GitHub repo 2021

    Python with zip, a nice refresher: ``` from typing import List

  • GitHub repo advent-of-clojure

    clo clo clo

    Clojure, mainly list manipulation and `core`.

  • GitHub repo advent-of-code

    Solutions in both OCaml and awk: https://github.com/chenson2018/advent-of-code/tree/main/2021/01

  • GitHub repo aoc2021

    Contains my AOC solutions for 2021 (by nobobo1234)

  • GitHub repo AdventOfCode2021

  • GitHub repo adventofcode

    My AdventOfCode implementations (by nielsutrecht)

    Kotlin solution

  • GitHub repo AdventOfCode2021

  • GitHub repo aoc

    My Advent of Code solutions (by vypxl)

    Full Code

  • GitHub repo adventofcode

    My collection of Advent of Code solutions in a slightly overkill project setup ๐Ÿ™ƒ๐Ÿ‘ป (by marcelblijleven)

    My Python solution

  • Rust

  • GitHub repo adventlang

    ๐ŸŽ… A programming language (+ code playground) for Advent of Code.

    My solution in Adventlang ๐ŸŽ…

  • GitHub repo aoc2021

    Solutions for Advent of Code 2021 (by frerich)

  • GitHub repo AdventOfCode-Haskell

    adventOfCode :: Haskell

  • GitHub repo aventofcode2021

    Python: Code

  • GitHub repo advent-of-code

    Solutions to Advent Of Code (by DearRude)

  • GitHub repo advent-of-code

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

    If you want to see really good solutions, check out Vik Fearing! (https://mobile.twitter.com/pg_xocolatl and his repo for advent of code: https://github.com/xocolatl/advent-of-code)

  • GitHub repo adventofcode2021

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

  • GitHub repo AoC-2021-rust

    I'm still learning rust, and the API surface seems huge :'D... I used iterators for my solution.

  • GitHub repo aoc

    my solutions to Advent of Code puzzles (by MarcoLucidi01)

  • GitHub repo adventofcode2021

    Advent of Code 2021 (by r0f1)

    ``` https://github.com/r0f1/adventofcode2021/blob/master/day01/main.py

  • GitHub repo Advent

    Advent of Code (by andrewscodedump)

    github

  • GitHub repo AdventOfCode_2021

    Repo for the 2021 edition of www.adventofcode.com (by LubosKolouch)

  • GitHub repo AdventOfCode

    C# solution. Was around 1:57. I would have been earlier but I accidentally counted the length of the input instead of the increasing pairs, so I had to wait the penalty time.

  • GitHub repo adventofcode2021

    Solutions to Advent of Code 2021 (by a-mroz)

    Mine (not very sophisticated) solution in python.

  • GitHub repo AdventOfCode

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

    First time doing the AoC. C# solution: https://github.com/HashTag42/AdventOfCode/blob/main/2021/2021-01/2021-01.cs

  • GitHub repo advent-of-code

    Typescript funtimes!

  • GitHub repo aoc2021

  • GitHub repo Advent-of-Code

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

    C# repo. Happy AoC everyone!

  • GitHub repo aoc2021

    Advent of code 2021 in JS (by TheAngularGuy)

    JS Day1 in a one liner https://github.com/TheAngularGuy/aoc2021

  • GitHub repo advent

    Advent of Code - Ada (by JeremyGrosser)

  • GitHub repo advent-of-code-cpp

  • GitHub repo adventofcode

    Advent of code solutions (by mathsaey)

  • GitHub repo AOC

    Advent of Code (by recombinatrix)

    Hello everyone! I'm using AOC2021 to get familiar with numpy, so here is my (inelegant) numpy solution.

  • GitHub repo aoc2021apl

    Advent of Code 2021 solutions in Dyalog APL

    Dyalog APL

  • GitHub repo AOC

    Advent of Code (by CptCookie)

    GitHub

  • GitHub repo Advent_of_Code_2021

    My solutions to Advent of Code 2021 (by neelakantankk)

    Very basic Python. Pretty nice introductory puzzle. I can't wait to see what shenanigans we get up to with this submarine.

  • GitHub repo Advent_Of_Code

    My solution for the Advent of Code challenges in various languages. (by Dullstar)

    Python, using no external libraries. Today's problem is pretty simple, so I doubt it'll be much help today, but generally my main goal with my solutions (well, besides getting the correct answer in a reasonable amount of time, obviously) is to write them in such a way that someone who is having trouble with the problems can read through it and understand how it works.

  • GitHub repo aoc

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

    @Github

  • GitHub repo AoC

    Advent of Code submissions (by tomribbens)

  • Link to Code

  • GitHub repo advent-of-code

    My Advent of Code adventures! (by LyleiLanar)

    My ruby solution: [2021 Day 1] Not the best, but Ruby is very new for me.

  • GitHub repo AOC2021

    Advent of Code 2021 Java Solutions (by fraserbrookhouse)

    My Java solution: 2021 Day 1

  • GitHub repo advent-of-code

    My advent of code solutions (by k2bd)

    A solution in Python

  • GitHub repo advent-of-code-2021

    ๐ŸŽ…๐ŸŒŸโ„๏ธโ˜ƒ๏ธ๐ŸŽ„๐ŸŽ (by mstksg)

    Like every year, i have my haskell solutions and reflections every day here :) https://github.com/mstksg/advent-of-code-2021

  • GitHub repo Advent-of-code-2021-golang

    Advent of code 2021 Go solutions

  • GitHub repo AOC_2021

    Python

  • GitHub repo advent-of-code

  • GitHub repo aoc

    Advent of Code solutions (by sjmulder)

    C

  • A fairly neat and clean python solution (written in Jupyter Notebook)

  • GitHub repo advent-of-code

    AOC solutions ๐ŸŽ„๐Ÿต (by masmeert)

    I actually did the same as you when I first solved it But I saw other people use the l[3] > l[n-3] trick, it didn't make much sense at first but now I get it and it's quite clever. Basically take [1 2 1 3], the windows would be w1=[1 2 1] and w2=[2 1 3], as 2 and 1 appear in both windows what really matters is w1[0] and w2[2] which are unique to each: 1+(2+1) < (2+1)+3 == 1 < 3.

  • GitHub repo AdventOfCode2021

    Solutions for Advent Of Code 2021 (by pranavdhawan)

    C++

  • GitHub repo advent-of-code-2021

    Rust: https://github.com/rv3392/advent-of-code-2021/blob/master/src/day1.rs

  • GitHub repo aoc21

    Learning Rust, so there is my solution: https://github.com/finalfire/aoc21/blob/main/src/day1.rs

  • GitHub repo AOC.NET

    Advent of Code .NET Solutions repository

    Using Linq and AoCHelper. Input has already been parsed to an IEnumerable. See full code here.

  • GitHub repo aoc2021

  • GitHub repo advent-of-code-2021

    Advent of Code 2021 solutions in Ruby (https://adventofcode.com/2021) (by damyvv)

    Hallo mede-Nederlander ;). Thanks for your comment, I will post all my solutions [here](https://github.com/damyvv/advent-of-code-2021). And you can find all my solutions from last year [here](https://github.com/damyvv/AoC_2020). Ruby is so powerful, I truly enjoy coding with it. If you have any questions about Ruby, let me know, I'll be happy to answer them if I can.

  • GitHub repo AoC_2020

    My Advent of Code solutions for the 2020 calender. Written in Ruby. (by damyvv)

    Hallo mede-Nederlander ;). Thanks for your comment, I will post all my solutions [here](https://github.com/damyvv/advent-of-code-2021). And you can find all my solutions from last year [here](https://github.com/damyvv/AoC_2020). Ruby is so powerful, I truly enjoy coding with it. If you have any questions about Ruby, let me know, I'll be happy to answer them if I can.

  • GitHub repo CSpydr

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

    CSpydr is my own programming language, which I'm developing since almost a year. (my AoC2021 repo)

  • GitHub repo AOC2021

    My Advent of Code solutions for 2021 (by Spydr06)

    CSpydr is my own programming language, which I'm developing since almost a year. (my AoC2021 repo)

  • GitHub repo Advent-of-Code

  • GitHub repo AOC_2021

    My Advent Of Code solutions for 2021 (by tobstern)

    Part 1 and Part 2

  • GitHub repo advent-of-code

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

    JS solutions, already settled back into the habit of relying on reduce functions

  • GitHub repo AdventOfCode2021

    Advent of code 2021 (by marcodelmastro)

  • GitHub repo AOC2021

    Solutions for the Advent Of Code 2021 (by barsa2000)

    day 1 solution on github

  • GitHub repo MoreLINQ

    Extensions to LINQ to Objects

    It's part of the MoreLinq library. The Window() function code is here.

  • GitHub repo AoC

    Repo for Advent of Code challenges (by tholomew92)

    C# solution

  • GitHub repo AoC2021

    Day 1 Golang solution: github

  • GitHub repo AoC

    Advent of Code (by Marterich)

  • GitHub repo AoC

    My Advent of Code solutions. (by hashworks)

    Rust, zipped iterators.

  • GitHub repo advent_of_code

    Haskell

  • GitHub repo adventofcode

    My solutions for advent of code (by zeitschlag)

    As tests have been super useful to me for AoC in the past, I applied some TDD and wrote tests, too. Basically, I just started learning this really beautiful language, so I'm rather thankful for comments and feedback.

  • GitHub repo aoc2021

    AOC 2021 in a variety of languages (by DaveTCode)

    I don't think anyone else has done this before. So here's day 1 part 1 & 2 implemented in pure LLVM IR. https://github.com/DaveTCode/aoc2021-llvm/blob/main/day1/day1.ll

  • GitHub repo AdventOfCode

    My simple solution: Day01.cs

  • GitHub repo advent-2021-kotlin

    :christmas_tree: Advent of Code 2021: Solutions in Kotlin

    Kotlin -> [Blog/Commentary] - [Code] - [All 2021 Solutions]

  • GitHub repo advent-of-code-2021

    My solution in C++

  • GitHub repo adventofcode2021

    Advent Of Code 2021 Solutions (by agardes)

    My Javascript solution

  • GitHub repo aoc2021

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

    My solution in Python, using boolean sums.

  • GitHub repo advents-of-code

    ๐ŸŽ„๐ŸŽ Solutions for the yearly advent of code challenges

  • GitHub repo AOC2021

    Advent of Code 2021 (by Rakicy)

    Code: https://github.com/Rakicy/AOC2021/blob/main/day01.py

  • GitHub repo aoc

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

    Here's my solution in Clojure. Feel free to correct me as I'm still beginner.

  • GitHub repo AOC2021

    [Moved to: https://github.com/azhai333/AdventofCode2021] (by azhai333)

    Part 1

  • GitHub repo AdventofCode2021

    Prep

  • GitHub repo advent-of-code-2021

    ๐ŸŽ„ My Advent of Code solutions in Rust. http://adventofcode.com/2021

    Part 1

  • GitHub repo swift-algorithms

    Commonly used sequence and collection algorithms for Swift

    I used Algorithms and took inspiration from Kotlin with it's zipWithNext function.

  • GitHub repo advent-of-code

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

    Python 3. Part 1, Part 2.

  • GitHub repo aoc_2021_rs

    Advent of Code 2021 in Rust

  • GitHub repo scrapyard

    Space for notes and experiments while learning the Rust programming language

    Rust. The windows() method is really the MVP of the day

  • GitHub repo aoc2021

  • GitHub repo aoc2021

    Advent of Code 2021 (by jenarvaezg)

  • GitHub repo AdventOfCode

    Advent of Code 2020 (by AdroMine)

    Solution

  • GitHub repo advent-of-code

  • GitHub repo AdventOfCode2021

    First time participating on AoC :D, it's been a fun first day! So here is my solution in Kotlin.

  • GitHub repo AdventOfCode

  • GitHub repo adventofcode2021

    Advent of Code 2021 Challenge (by Maeevick)

    My Naive Haskell Solution: https://github.com/Maeevick/adventofcode2021/blob/main/src/D1.hs

  • GitHub repo advent_of_code

  • GitHub repo aoc2021

    This is my solution: https://github.com/rhbvkleef/aoc2021/blob/master/lib/solutions/day1.ex

  • GitHub repo AoC_2021

  • GitHub repo advent-2021

    Advent of Code 2021, but I'm learning Python (by Two9A)

    https://github.com/Two9A/advent-2021/blob/main/01.py https://github.com/Two9A/advent-2021/blob/main/02.py

  • GitHub repo aoc2021

    Advent of Code, 2021 (by LactoseGK)

    Link to repo: https://github.com/LactoseGK/aoc2021

  • GitHub repo aoc-2021

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

    Docker instructions (includes my account's inputs): https://github.com/jasonincanada/aoc-2021/blob/main/Docs/Docker.md

  • GitHub repo HaskellSchool

    At Haskell Foundation we are working on Haskell School, far to be finished but the repo is public: https://github.com/haskellfoundation/HaskellSchool/

  • GitHub repo aoc2021

    thanks, I just started learning clojure with aoc and used your solution to get a hang of the syntax and everything. you could reuse your function for task 1 like this

  • GitHub repo aoc2021

  • GitHub repo adventOfCode2020

    Advent of code (by MissMormie)

    Java on github: https://github.com/MissMormie/adventOfCode2020/blob/main/src/main/java/days2021/day1_SonarSweep.java

  • GitHub repo advent-of-code-2021

    AoC 2021, let's go! (by CodingNagger)

    Part 1 & 2

  • GitHub repo aoc-2021

    https://adventofcode.com/2021 in rust (by matiu2)

    Rust. Long and modularised, and hopefully pretty: https://github.com/matiu2/aoc-2021/blob/main/day1/src/shared.rs

  • GitHub repo aoc2021

  • GitHub repo advent-of-code-2021

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

  • GitHub repo AdventOfCode2021

    Swift: https://github.com/lukeredpath/AdventOfCode2021/blob/main/Sources/AdventOfCode2021/01.swift

  • GitHub repo AdventCodeCalendar

  • GitHub repo advent_of_code_2021

    Full code: https://github.com/tcbrindle/advent_of_code_2021/blob/main/dec01/main.cpp

  • GitHub repo advent_of_code

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

    The repository is available on Github

  • GitHub repo AdventOfCode

    GitHub

  • GitHub repo advent_of_code

    Using Golang https://github.com/wesreisz/advent_of_code

  • GitHub repo advent-of-code-2021

    It's back. It's worse. (by mrwilson)

    Source and tests

  • GitHub repo adventcode2021

    Solved problems in Go for Advent of Code 2021.

    Go, Day 1, Part 1

  • GitHub repo 2021-advent-of-code

    Advent of Code 2021 puzzles

  • GitHub repo aoc2021

    Advent of Code 2021 - my answers

    Haskell 658/970

  • GitHub repo Advent-of-Code-2021

    Github Solution

  • GitHub repo aoc-2021

    Advent of Code 2021 in Common Lisp (by pbohun)

    (time (format t "part 1:~a~%" (increasing-pairs (read-numbers "../inputs/01.txt")))) (time (format t "part 2:~a~%" (increasing-threes (read-numbers "../inputs/01.txt")))) You can find the repo for it here: https://github.com/pbohun/aoc-2021

  • GitHub repo advent_of_code_2021

    Not the best. Seen much better solutions in this thread. https://github.com/rajputrajat/advent_of_code_2021/blob/master/day1/src/main.rs

  • GitHub repo advent-of-rust-2021

    Solutions to Advent of Code 2021 in Rust

    On GitHub

  • Quite a nice little solution if I say so myself. The full solution is here.

  • GitHub repo Advent-of-Code-2021

    My solutions for Advent of Code 2021; in Kotlin. (by vini2003)

    Kotlin

  • GitHub repo Clippy

    A bunch of lints to catch common mistakes and improve your Rust code

    An opinionated linter for Rust https://github.com/rust-lang/rust-clippy

  • GitHub repo AdventOfCode

    Advent Of Code (by Jo0)

  • GitHub repo Advent-Of-Code

    Advent of code 2021 (by ffamilyfriendly)

    part one

  • GitHub repo adventofcode

    https://adventofcode.com :yellow_heart: :blue_heart: :purple_heart: :heart: :green_heart: (by kjempelodott)

    Rust. My code has owls :3 https://github.com/kjempelodott/adventofcode/blob/master/aoc2021/src/bin/day1.rs

  • GitHub repo AdventOfCode2021

    part1

  • part 1 part 2

  • GitHub repo advent-of-code-dev

    Interactive development environment and runner for Advent of Code challenges

    My Haskell solution (using Justin Le's scaffolding):

  • GitHub repo rust_advent_of_code

    Code related to Advent of Code 2021 using Rust [Moved to: https://github.com/JCardoen/AdventOfCodeRust2021]

    Implementation in Rust (first day using Rust) https://github.com/JCardoen/rust_advent_of_code/blob/master/src/day_one/one.rs

  • GitHub repo AdventOfCode_2021_Rust

    My Advent of Code 2021 solutions in Rust.

    I'm glad you found my solution helpful. Check out the latest version. I think it's even neater.

  • My solutions in Rust: https://github.com/LinAGKar/advent-of-code-2021-rust/blob/main/day1a/src/main.rs and https://github.com/LinAGKar/advent-of-code-2021-rust/blob/main/day1b/src/main.rs

  • GitHub repo aoc-2021

    Day1: Golang

  • GitHub repo advent-of-code-2021

    Advent of Code 2021 Java 17 (by zebalu)

    Hey! This is my Java solution: https://github.com/zebalu/advent-of-code-2021/blob/master/src/main/java/io/github/zebalu/aoc2021/Day01.java

  • GitHub repo advent-of-code

    clojure

  • GitHub repo advent-of-code-kotlin-2021

    My solution attempts to Advent of Code 2021

    My solution in Kotlin: https://github.com/ThomasBollmeier/advent-of-code-kotlin-2021/blob/1419d954754147f215f96986282429d318372751/src/Day01.kt

  • GitHub repo AdventOfCodeSolutions

    I have wanted to learn Haskell for years. This is my chance. https://github.com/GaalDornick/AdventOfCodeSolutions/blob/main/src/adventofcode/year2021/day1/app/Main.hs

  • GitHub repo aoc2021_SQL

    2021 advent of code in Db2 LUW SQL

    More details including docker container to run available here: https://github.com/ecrooks/aoc2021_SQL

  • GitHub repo advent-of-code

    My solution in Scala 3 : github

  • Code is at https://gitlab.com/NeilNjae/advent-of-code-21/-/blob/main/advent01/Main.hs

  • GitHub repo advent-of-code-2021

    My solutions to Advent Of Code 2021 in python <3 (by Mike920-dev)

  • GitHub repo AdventOfCode

    First time doing one of these, I'm a very novice programmer, but here's the important part of my C++ solution

  • GitHub repo aoc2021

    Advent of Code 2021 (by krmaxwell)

    I'm trying in Go this year, just because I'm working on learning it.

  • GitHub repo adventofcode-2021

    adventofcode.com 2021 solutions using Rust

  • GitHub repo advent-of-code

    Python 3.9 Solution (GitHub)

  • GitHub repo advent-2020

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

    Oh, that's actually from the arrow-macros. I omitted the boilerplate which loads a couple libraries like it, fset, alexandria, uiop, etc. You can see everything here.

  • GitHub repo advent-of-code

    All my advent of code projects (by snowe2010)

  • GitHub repo Advent-of-Code-2021

  • GitHub repo adventofcode2021

    Here's how I did it : https://github.com/RyZum/adventofcode2021/blob/main/Day1/Program.fs

  • GitHub repo adventofcode

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

    Check repo for complete code and F# code.

  • GitHub repo Wren

    The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.

    I was initially going to do these in Python (and I still am) but someone in Discord got me to give Wren (https://wren.io/) a try. Here's my solution for both parts: import "io" for File

  • GitHub repo advent-of-code-2021

    Trying to solve https://adventofcode.com/2021 (by ThePituLegend)

  • GitHub repo Advent_of_Code_2021_Solutions_Java

    Personal AoC/2021 Solutions in Java

  • GitHub repo advent_of_code

    Working through https://adventofcode.com/ (by avatus)

    Elixir A bit long because I'm still learning, but that was FUN! https://github.com/avatus/advent_of_code/blob/master/2021/sonar_sweep/lib/sonar_sweep.ex

  • GitHub repo 2021-advent-of-code-js

    JavaScript Solutions for 2021's Advent of Code Challenges

    Day 1 JavaScript Solution: https://github.com/Nishoake/2021-advent-of-code-js/tree/main/solutions/01

  • GitHub repo advent-of-code

    Advent of Code! (by peckb1)

    I'm also doing Kotlin.

  • GitHub repo AoC-2021

    My 2021 Advent of Code solutions. (by Rigidity)

    Here's my TypeScript solution: https://github.com/Rigidity/AoC-2021/blob/main/src/day1.ts

  • GitHub repo advent-of-code-2021

    Advent of Code 2021 Submissions (by mariotacke)

  • GitHub repo nand2tetris

  • GitHub repo advent-of-code

    2021 to 2018 entries for the annual Advent of Code challenge, written in concise idiomatic functional Scala. (by maneatingape)

    Solution in Scala

  • GitHub repo AOC-2021

    Advent of Code 2021 challenge (by sbcreates)

    Code in repo

  • GitHub repo advent_of_code

    This repository contains solutions to each of the problems in Advent of Code 2021 in C++, 2020 in both C++ and Python and 2019 in C++. (by vss2sn)

    Solutions in C++: Part 1 Part 2

  • GitHub repo lolAOC

    Happiness for advent of code

    Unfortunately I needed to change slightly the input adding commas. See https://github.com/bellaz89/lolAOC

  • GitHub repo advent-of-code

    Advent of code solutions (by rbusquet)

  • GitHub repo advent-of-code-2021

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

    My trash solution (compared to using zip like people way more clever than me): https://github.com/plan-x64/advent-of-code-2021/blob/main/advent/day1.py

  • GitHub repo advent-of-code

    My solutions for Advent of Code (by AlexAegis)

    Part 1 Part 2

  • GitHub repo adventofcode_2021

    adventofcode_2021 (by adamz01h)

    https://github.com/adamz01h/adventofcode_2021/tree/master/day_1

  • GitHub repo advent-2021

    Advent of Code 2021 solutions (by OmarAssadi)

    Java 17 (with Lombok and Spring) Code: Day1.java

  • GitHub repo AdventCode

  • GitHub repo Advent_of_Code

    My Advent of Code solutions.

    My solution in Python. At first I summed all three numbers for part 2 but then I saw the optimization in the comments and implemented that.

  • GitHub repo adventofcode2021

    Solutions for the Advent of code 2021 (by mariush-github)

    Here's my solution : https://github.com/mariush-github/adventofcode2021/blob/main/01.php

  • GitHub repo advent-of-code

    Advent of code solutions (by EmilOhlsson)

    (define (solve-part2 input) (let [(filtered (map (ฮป (l) (apply + l)) (windows 3 input)))] (apply + (map bool->number (map (ฮป (ab) (apply < ab)) (windows 2 filtered)))))) `` Wherewindows` is defined in a helper library. Full code is here

  • GitHub repo advent-of-code-2021

    AoC 2021 solutions in Python (by kmb5)

    My "production-ready" (at least that is the intention) solution for day 1 in Python (part1+part2)

  • GitHub repo adventofcode

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

  • JavaScript (nodeJS): GitHub

  • GitHub repo AdventofCode

  • GitHub repo advent-of-code

    github link

  • GitHub repo aoc-typescript

  • GitHub repo advent-of-code-jq

    Solving Advent of Code with jq

    JQ

  • GitHub repo aoc2021

    part 1

  • GitHub repo aoc2021-abap

    AdventOfCode 2021 solutions in ABAP

    Github

  • GitHub repo AoC

    Advents of Code in NASM x86_64 assembly (by JustinHuPrime)

    Part 1 involved tracking the previous value and comparing against that - I didn't even need an intermediate list storing all of the numbers.

  • GitHub repo Advent-of-Code-2021

    GitHub/DepthSweeper.java

  • GitHub repo AdventOfCode2021

    AdventOfCode 2021 solutions (by Meldanor)

  • GitHub repo aoc

    Advent of Code (by c-kk)

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