-🎄- 2021 Day 1 Solutions -🎄-

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

Judoscale - Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
judoscale.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. aoc2021

    Solutions to Advent of Code 2021 (by jubnzv)

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

  2. Judoscale

    Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.

    Judoscale logo
  3. 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).

  4. advent-of-code-2021

    zig solutions to advent of code 2021 (by jchevertonwynne)

  5. BQN

    An APL-like programming language

    Here is link number 1 - Previous text "BQN"

  6. advent-of-code

    Advent Of Code Solutions (by sreedevk)

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

  8. AoC2021

    Advent of Code 2021 in F# (by kimvais)

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

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. adventofcode

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

    My solution is here.

  11. 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).

  12. advent-of-code

    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.

  13. Advent-of-Code-2021

    Did somebody say Shakespeare Programming Language? (by sy-python)

  14. adventofcode

    Advent of code solutions (by julian-west)

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

  15. Advent-Of-Code

    My solutions to all Advent of Code questions (by Biggergig)

  16. AdventOfCode

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

    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

  17. adventofcode

    Answers to Advent of Code (by viceroypenguin)

  18. AdventOfCode2021FSharp

    Solutions for Advent of Code 2021 in F#

    Here's my solution in F#.

  19. AdventOfCodeCSharp

    My AoC Solutions

  20. advent

    🎄 My Advent of Code solutions (by rossmacarthur)

    Here's mine using Rust iterators

  21. Advent-of-Code

    Solutions to Advent of Code challenges (by StasDeep)

    Python 3, 628/611

  22. Advent_of_Code_in_Pascal

    My solutions to the Advent of Code, in Free Pascal

    Pascal 3362/2895

  23. AdventOfCode2021

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

    Python (849/602)

  24. advent-of-code

    My solutions for adventofcode.com (by mdw-aoc)

    Clojure

  25. adventofcode

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

    My Scala solution.

  26. advent-of-code

    For sharing my adventofcode.com solutions (by kbielefe)

    Scala 3

  27. AdventOfCode

    Solutions to every single AoC problem (2015-2024). Mostly in Rust (by AxlLind)

    Link to solution

  28. adventofcode

    Advent of Code challenge solutions (by flwyd)

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

  29. AoC2021

    Programs for Advent of Code 2021 (by Perska)

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

  30. Advent-of-Code

    Advent of Code (by michaeljgallagher)

    Nothing fancy

  31. advent-of-code-2021

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

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

  33. aoc2021-haskell

    full solution

  34. aoc2021

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

  35. AoC

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

    C

  36. aoc2021

    Advent of Code 2021 Solutions (by nlowe)

    Go, 653/1522

  37. advent2021

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

    Full Code

  38. Advent-of-Code

    HASKELL

  39. aoc2021

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

  40. aoc

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

  41. adventofcode

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

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

  42. aoc

    Advent of Code solutions (by darrylabbate)

    Part 1

  43. advent-of-code-2021

    Solutions to Advent of Code 2021 (by warriordog)

    Javascript [Part 1] [Part 2]

  44. adventofcode

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

  45. Advent-of-Code-2021

  46. advent-of-code-2021

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

    Common Lisp 365/3502

  47. AoC21

    advent of code 2021 (by BobekJosef)

    C++

  48. advent-of-code

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

    Solution on GitHub

  49. aoc2021-rust

    Advent of Code 2021 in Rust

  50. AoC2021

    Discontinued Advent of Code 2021. A Rusty submarine? [GET https://api.github.com/repos/wilkotom/AoC2021: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository] (by wilkotom)

  51. aoc2021

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

  52. advent2021

    Advent of Code 2021 in Rust (by jeremylt)

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

  53. factor

    Factor programming language

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

  54. advent-of-code

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

  55. 2021

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

  56. advent-of-clojure

    clo clo clo

    Clojure, mainly list manipulation and `core`.

  57. advent-of-code

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

  58. aoc2021

    Contains my AOC solutions for 2021 (by nobobo1234)

  59. AdventOfCode

  60. adventofcode

    My AdventOfCode implementations (by nielsutrecht)

    Kotlin solution

  61. AdventOfCode2021

  62. aoc

    My Advent of Code solutions (by vypxl)

    Full Code

  63. adventofcode

    My collection of Advent of Code solutions in a slightly overkill project setup 🙃👻 (by marcelblijleven)

    My Python solution

  64. advent-of-code

    Rust

  65. adventlang

    🎅 A programming language (+ code playground) for Advent of Code.

    My solution in Adventlang 🎅

  66. aoc2021

    Solutions for Advent of Code 2021 (by frerich)

  67. AdventOfCode-Haskell

    adventOfCode :: Haskell

  68. aventofcode2021

    Python: Code

  69. advent-of-code

    Solutions to Advent Of Code (by DearRude)

  70. 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)

  71. adventofcode2021

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

  72. AoC-2021-rust

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

  73. aoc

    my solutions to Advent of Code puzzles (by MarcoLucidi01)

  74. adventofcode2021

    Advent of Code 2021 (by r0f1)

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

  75. Advent

    Advent of Code (by andrewscodedump)

    github

  76. AdventOfCode_2021

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

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

  78. adventofcode2021

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

    Mine (not very sophisticated) solution in python.

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

  80. advent-of-code

    Typescript funtimes!

  81. aoc2021

  82. Advent-of-Code

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

    C# repo. Happy AoC everyone!

  83. aoc2021

    Discontinued Advent of code 2021 in JS (by TheAngularGuy)

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

  84. advent

    Advent of Code - Ada (by JeremyGrosser)

  85. advent-of-code-cpp

  86. adventofcode

    Advent of code solutions (by mathsaey)

  87. AOC

    Advent of Code (by recombinatrix)

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

  88. aoc2021apl

    Advent of Code 2021 solutions in Dyalog APL

    Dyalog APL

  89. AOC

    Advent of Code (by CptCookie)

    GitHub

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

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

  92. aoc

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

    @Github

  93. AoC

    Discontinued Advent of Code submissions (by tomribbens)

  94. Link to Code

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

  96. AOC2021

    Advent of Code 2021 Java Solutions (by fraserbrookhouse)

    My Java solution: 2021 Day 1

  97. advent-of-code-python

    My advent of code solutions

    A solution in Python

  98. advent-of-code-2021

    Discontinued 🎅🌟❄️☃️🎄🎁 (by mstksg)

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

  99. Advent-of-code-2021-golang

    Advent of code 2021 Go solutions

  100. AOC_2021

    Python

  101. advent-of-code

  102. aoc

    Discontinued Advent of Code solutions (by sjmulder)

    C

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

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

  105. AdventOfCode2021

    Discontinued Solutions for Advent Of Code 2021 (by pranavdhawan)

    C++

  106. advent-of-code-2021

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

  107. aoc21

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

  108. AOC.NET

    Advent of Code .NET Solutions repository

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

  109. aoc2021

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

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

  112. 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)

  113. aoc

    My Advent of Code solutions (by Spydr06)

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

  114. Advent-of-Code

  115. AOC_2021

    My Advent Of Code solutions for 2021 (by tobstern)

    Part 1 and Part 2

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

  117. AdventOfCode2021

    Advent of code 2021 (by marcodelmastro)

  118. AOC2021

    Solutions for the Advent Of Code 2021 (by barsa2000)

    day 1 solution on github

  119. MoreLINQ

    Extensions to LINQ to Objects

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

  120. AoC

    Repo for Advent of Code challenges (by tholomew92)

    C# solution

  121. AoC2021

    Day 1 Golang solution: github

  122. AoC

    Advent of Code (by Marterich)

  123. AoC

    My Advent of Code solutions. (by hashworks)

    Rust, zipped iterators.

  124. advent_of_code

    Haskell

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

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

  127. AdventOfCode

    My simple solution: Day01.cs

  128. advent-2021-kotlin

    :christmas_tree: Advent of Code 2021: Solutions in Kotlin

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

  129. advent-of-code-2021

    My solution in C++

  130. adventofcode2021

    Discontinued Advent Of Code 2021 Solutions (by agardes)

    My Javascript solution

  131. aoc2021

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

    My solution in Python, using boolean sums.

  132. advents-of-code

    🎄🎁 Solutions for the yearly advent of code challenges

  133. AOC2021

    Advent of Code 2021 (by Rakicy)

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

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

  135. AOC2021

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

    Part 1

  136. AdventofCode2021

    Prep

  137. advent-of-code-2021

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

    Part 1

  138. swift-algorithms

    Commonly used sequence and collection algorithms for Swift

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

  139. advent-of-code

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

    Python 3. Part 1, Part 2.

  140. aoc_2021_rs

    Advent of Code 2021 in Rust

  141. scrapyard

    Space for notes and experiments while learning the Rust programming language

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

  142. aoc2021

  143. aoc2021

    Advent of Code 2021 (by jenarvaezg)

  144. AdventOfCode

    Advent of Code (by AdroMine)

    Solution

  145. advent-of-code

  146. AdventOfCode2021

    Discontinued [Moved to: https://github.com/gfioretti/AdventOfCode] (by gfioretti)

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

  147. AdventOfCode

  148. adventofcode2021

    Discontinued Advent of Code 2021 Challenge (by Maeevick)

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

  149. advent_of_code

  150. aoc2021

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

  151. AoC_2021

    Discontinued [GET https://api.github.com/repos/DamienPirsy/AoC_2021: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository] (by DamienPirsy)

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

  153. aoc2021

    Advent of Code, 2021 (by gkwaerp)

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

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

  155. HaskellSchool

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

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

  157. aoc2021

  158. adventOfCode2020

    Advent of code (by MissMormie)

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

  159. advent-of-code-2021

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

    Part 1 & 2

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

  161. aoc2021

  162. advent-of-code-2021

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

  163. AdventOfCode2021

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

  164. AdventCodeCalendar

  165. advent_of_code_2021

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

  166. advent_of_code

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

    The repository is available on Github

  167. AdventOfCode

    GitHub

  168. advent_of_code

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

  169. advent-of-code-2021

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

    Source and tests

  170. adventcode2021

    Solved problems in Go for Advent of Code 2021.

    Go, Day 1, Part 1

  171. advent-of-code

    Advent of Code puzzles (by KT421)

  172. aoc2021

    Advent of Code 2021 - my answers

    Haskell 658/970

  173. Advent-of-Code-2021

    Github Solution

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

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

  176. advent-of-rust-2021

    Solutions to Advent of Code 2021 in Rust

    On GitHub

  177. advent-of-code-2021

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

  178. Advent-of-Code-2021

    A Kotlin-based repository of my solutions for the Advent of Code challenge of 2021. (by vini2003)

    Kotlin

  179. Clippy

    A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/

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

  180. AdventOfCode

    Advent Of Code (by Jo0)

  181. Advent-Of-Code

    Discontinued Advent of code 2021 (by ffamilyfriendly)

    part one

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

  183. AdventOfCode2021

    part1

  184. Advent-of-code-2021

    part 1 part 2

  185. advent-of-code-dev

    Interactive development environment and runner for Advent of Code challenges

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

  186. rust_advent_of_code

    Discontinued 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

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

  188. advent-of-code-2021-rust

    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

  189. aoc-2021

    Day1: Golang

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

  191. advent-of-code

    clojure

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

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

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

  195. advent-of-code

    My solution in Scala 3 : github

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

  197. advent-of-code-2021

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

  198. AdventOfCode

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

  199. aoc2021

    Advent of Code 2021 (by krmaxwell)

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

  200. adventofcode-2021

    adventofcode.com 2021 solutions using Rust

  201. advent-of-code

    Python 3.9 Solution (GitHub)

  202. advent-2020

    Discontinued [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.

  203. advent-of-code

    All my advent of code projects (by snowe2010)

  204. Advent-of-Code-2021

  205. adventofcode2021

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

  206. adventofcode

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

    Check repo for complete code and F# code.

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

  208. advent-of-code-2021

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

  209. Advent_of_Code_2021_Solutions_Java

    Personal AoC/2021 Solutions in Java

  210. advent_of_code

    Discontinued 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

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

  212. advent-of-code

    Advent of Code! (by peckb1)

    I'm also doing Kotlin.

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

  214. advent-of-code-2021

    Advent of Code 2021 Submissions (by mariotacke)

  215. nand2tetris

  216. advent-of-code-scala

    Complete 2022 to 2015 entries for the annual Advent of Code challenge, written in concise idiomatic functional Scala.

    Solution in Scala

  217. AOC-2021

    Advent of Code 2021 challenge (by sbcreates)

    Code in repo

  218. advent_of_code

    This repository contains solutions to each of the problems in Advent of Code 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 and 2024 in C++ (and 2020 in Python as well)

    Solutions in C++: Part 1 Part 2

  219. lolAOC

    Happiness for advent of code

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

  220. advent-of-code

    Advent of code solutions (by rbusquet)

  221. advent-of-code-2021

    Discontinued 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

  222. advent-of-code

    My solutions for Advent of Code (by AlexAegis)

    Part 1 Part 2

  223. adventofcode_2021

    adventofcode_2021 (by adamz01h)

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

  224. advent-2021

    Advent of Code 2021 solutions (by OmarAssadi)

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

  225. AdventCode

  226. Advent_of_Code

    My Advent of Code solutions. (by Farbfetzen)

    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.

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

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

  229. 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)

  230. adventofcode

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

  231. AdventOfCode2021

    JavaScript (nodeJS): GitHub

  232. AdventofCode2021

  233. advent-of-code

    github link

  234. aoc-typescript

  235. advent-of-code-jq

    Solving Advent of Code with jq

    JQ

  236. aoc2021

    part 1

  237. aoc2021-abap

    Discontinued AdventOfCode 2021 solutions in ABAP

    Github

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

  239. Advent-of-Code-2021

    GitHub/DepthSweeper.java

  240. AdventOfCode2021

    AdventOfCode 2021 solutions (by Meldanor)

  241. aoc

    Advent of Code (by c-kk)

  242. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB 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

  • -🎄- 2021 Day 8 Solutions -🎄-

    224 projects | /r/adventofcode | 7 Dec 2021
  • Perl 🐪 Weekly #702 - Perl Camel

    3 projects | dev.to | 6 Jan 2025
  • [2023] A list of solutions for this year and years past

    1 project | /r/adventofcode | 1 Dec 2023
  • [2022 day 19] after trying ever day for the last 11 days, nothing seems to work

    3 projects | /r/adventofcode | 31 Dec 2022
  • -🎄- 2022 Day 19 Solutions -🎄-

    67 projects | /r/adventofcode | 18 Dec 2022

Did you know that Python is
the 2nd most popular programming language
based on number of references?