-🎄- 2021 Day 5 Solutions -🎄-

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. advent-of-code

    Advent of Code (by morgoth1145)

    That's one of the utility libraries I have in my repo, found here. I open my IDLE editor at the root so I can just import lib.aoc without issue. Not only can it download the input from the server but it also knows how to submit an answer (I have the program ask me if I want to submit *before* submitting just in case the answer smells completely wrong though, don't want to get hit by a time penalty for obviously wrong answers!)

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. adventofcode

    Advent of code in rust (by Japanuspus)

    Rust, 61 lines

  4. advent_of_code_2021

    I didn't find an easier way, your solution looks almost identical to mine in structure, only I matched enums describing direction.

  5. advent-of-code-kotlin

    Advent of code 2021 - Kotlin

    Kotlin solution, fairly concise with minimal maths involved.

  6. advent-of-code-2021

    My solution in Rust. I defined a few types (Grid, Line & Coordinate) and implemented a bunch of traits to try and make it "Rusty", but that may have just needlessly added to the line count. Anyway, Feedback is always appreciated. :)

  7. AdventOfCode2021

    My solution uses namedtuple.

  8. AdventOfCode

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

    Python. 154/251 :( Video of me solving.

  9. SaaSHub

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

    SaaSHub logo
  10. aoc_ts

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

  11. adventofcode

    Answers to Advent of Code (by viceroypenguin)

  12. advent-of-code-2021

    AOC in go (by alextanhongpin)

  13. AdventOfCode

  14. AdventOfCode-Solutions

    My Solutions of Advent of Code Problems for select years. (by CoconutJJ)

    Day 5 Solution Python: https://github.com/CoconutJJ/AdventOfCode-Solutions/blob/master/2021/day5/day5.py

  15. advent-of-code

  16. adventofcode-rb-2021

    Solutions to https://adventofcode.com/2021 (complete)

  17. AdventOfCode2021

  18. aoc2021

    Advent of Code 2021 Solutions (by nlowe)

    Go, 2582/2520

  19. Advent-of-Code-2021

    My solutions for Advent of Code 2021 (by kermitnirmit)

    Python!

  20. Advent-of-Code

    Advent of Code (by michaeljgallagher)

    It helps that you can add two Counter objects together :)

  21. adventofcode.com

    Practising Haskell with AdventOfCode.com puzzles (by sangster)

  22. Advent-of-Code-2021

    Advent of Code Solutions 2021 in Python (by DenverCoder1)

  23. advent-of-code

    perl 939/1020, cleaned up - on the rush I forgot about <=> operator...

  24. adventofcode

    Advent of Code solutions (by jjclark1982)

    Python 3 with NumPy, plotting grids as inline PNG images in a notebook.

  25. AdventOfCode2021

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

    Python (1538/3726) Video of me solving here (may still be uploading): https://youtu.be/b56Q6mBP6Nw

  26. advent-of-code-cpp

  27. AdventOfCode2021.jl

    Advent of Code 2021 in Julia

  28. AOC

    Advent of Code solutions (by BreadFish64)

    Nothing too fancy, I overloaded the stream in operator to read the lines from the files. Sadly the DrawLine function turned kinda ugly once I handled diagonals. https://github.com/BreadFish64/AOC/blob/master/AOC/hydrothermal_venture.cpp

  29. advent-of-code-2021

    Advent of Code 2021 Java 17 (by zebalu)

    Java 17, if you are looking for one. (However, it is not really a Java community...) I was really lost in diagonals, and it is not an "elegant" or less then 100 bytes of code solution, but I hope it is readable, if you are lost...

  30. advent-of-code-2021

    small coding exercises for christmas (by snhmibby)

    In Go, leaving out the file reading functions (full code here)

  31. aoc2021

    Discontinued Advent of Code 2021 [GET https://api.github.com/repos/UnicycleBloke/aoc2021: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository] (by UnicycleBloke)

    C++: https://github.com/UnicycleBloke/aoc2021/blob/master/day05/day05.cpp

  32. advent-of-code

    My solutions for the Advent of Code (by JesperDramsch)

    The full code with comments lives on Github. But here's the meat without comments for brevity:

  33. aoc-2021

    Python 3.

  34. aoc2021

  35. aoc-2021

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

    C# nothing noteworthy other than LINQ saving the day again

  36. advent_of_code_2021

    advent of code solutions (javascript) (by nathanesau)

    python x, y = x1, y1 counter[(x,y)] += 1 while x != x2 or y != y2: if (x2 != x1) x = (x2 >= x1) ? x + 1: x - 1; if (y2 != y1) y = (y2 >= y1) ? y + 1: y - 1; counter[(x,y)] += 1; see https://github.com/nathanesau/advent_of_code_2021/blob/main/solutions/aoc2021_day05.js

  37. AdventOfCode

    python clean version

  38. advent-of-code-2021

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

    Python (gh) (pic of vents)

  39. AdventOfCode2021FSharp

    Solutions for Advent of Code 2021 in F#

    Here's my solution using F# and Jupyter Notebook. Here, I didn't even bother creating a grid. I just kept track of all the points.

  40. advent-of-code

    Advent Of Code Solutions (by sreedevk)

  41. AdventOfCode

    Advent Of Code (by Jo0)

  42. advent-of-code-2021

    Java

  43. advent-of-code-2021

    Advent of Code 2021 Submissions (by mariotacke)

  44. advent-of-code

    exploring problems from Advent of Code (by BenningtonComputing)

    In Janet (janet-lang.org) : https://github.com/BenningtonComputing/advent-of-code/blob/master/2021/jim/5.janet

  45. advent-of-code-2021

  46. advent-of-code

    My solutions to advent of code problems (by jtrinklein)

  47. advent2021

  48. advent-of-code

    Common Lisp. There's a really easy refactor to unify both days, but ehh https://github.com/anlsh/advent-of-code/blob/master/2021/src/day-05.lisp

  49. adventofcode

    Advent of Code challenge solutions (by flwyd)

    Raku, MIT license, line breaks removed for brevity:

  50. adventofcode

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

    My Scala solution.

  51. AdventOfCodeHaskell

    Advent of Code in Haskell

  52. Advent-of-code-2021

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

  53. aoc2021

    solutions for advent of code 2021 (by tumdum)

    my rust solution for day5:

  54. adventofcode

    Advent of code (by Peter554)

    Python. A bit verbose, but readable (I hope!).

  55. aoc

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

  56. adventofcode

    adventofcode.com solutions (by linl33)

  57. aoc2021

    Advent of Code 2021 - my answers

    Haskell 3133/1662

  58. adventofcode21

    2021 advent of code solutions

    Ruby again; incredibly janky, wasted 2 hours on "optimizations" that did not actually optimize, and forgot tally existed, but it works.

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

    Rust

  60. advent-of-code

    Advent of Code challenges over the years (by jordangarrison)

    Go, accidentally solved the second part first: GitHub

  61. adventofcode

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

  62. advent.of.code.each

    Discontinued Advent of Code 20XX

  63. sea

    Discontinued Sketches (by nuoxoxo)

    Non-programmer joining this year's aoc :P C++ on GitHub

  64. aoc-2021

    Advent of Code 2021 in Rust (by kirillbobyrev)

    My solution in Rust. Overall happy with it being clean, especially compared to Day 4 :D

  65. advent-of-code

    Discontinued Advent of code solutions (by Fubuchi)

    F#: https://github.com/Fubuchi/advent-of-code/blob/master/2021/Day5/Day5.fs

  66. aoc2021apl

    Advent of Code 2021 solutions in Dyalog APL

    Dyalog APL p←⍎¨¨'\d+'⎕S'&'¨⊃⎕NGET'p5.txt'1 to←{⍺+(×⍺-⍵)×⎕IO-⍳1+|⍺-⍵} f←{x1 y1 x2 y2←⍵ ⋄ ∨/x1 y1=x2 y2:(x1 to x2),¨y1 to y2 ⋄ ⍬} +/1<{≢⍵}⌸⊃,/f¨p ⍝ part 1 g←{x1 y1 x2 y2←⍵ ⋄ (x1 to x2),¨y1 to y2} +/1<{≢⍵}⌸⊃,/g¨p ⍝ part 2

  67. AoC-2021

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

    Yet Another Rust Solution

  68. advent-of-code-2021

    My Kotlin solution for AoC 2021 (by henningBunk)

    Solution and Tests which helped me find a lot of bugs. My initial solution didn't work with right to left and bottom to top going vents.

  69. AoC2021

    Advent of Code 2021 in GO (by HalfInner)

  70. aoc2021

    Advent of Code 2021 (by sotolf2)

  71. Advent-of-Code-2021

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

    Python and another reason why defaultdict is my best friend. Not clean enough yet - I can probably get rid of the repetitions...

  72. aoc2021

    Discontinued Advent of Code 2021 (by brian14708)

    Rust solution

  73. AdventOfCode2021

    Advent of code 2021 (by marcodelmastro)

  74. Advent-of-code-2021-golang

    Advent of code 2021 Go solutions

  75. aoc-2021

    Complete Advent Of Code 2021 solutions in Go (by lnguyenh)

    very nice. I am also learning golang during this aoc, and it took way more lines for me. I ll keep an eye on your solutions! (mines are here: https://github.com/lnguyenh/aoc-2021 )

  76. advent-of-code

    Advent of code solutions (by EmilOhlsson)

    Created a specific iterator for the ranges, that made the code quite nice. rust fn solve_p1(input: &str) -> usize { let mut lines = HashMap::<(i32, i32), u32>::new(); for ((x1, y1), (x2, y2)) in parse(input) { if x1 == x2 || y1 == y2 { let steps = cmp::max((x2 - x1).abs(), (y2 - y1).abs()) + 1; let xs = Range::new(x1, x2, steps); let ys = Range::new(y1, y2, steps); for p in xs.zip(ys) { let point = lines.entry(p).or_insert(0); *point += 1; } } } lines.values().filter(|&c| *c >= 2).count() } Full code is here

  77. aoc2021

    Advent of Code 2021 (by foolnotion)

    As always parsing the input takes most of the space. I did not bother writing my own loops to fill the diagonals and I used Eigen instead - github

  78. advent-of-code

    RUST

  79. adventofcode

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

    Python

  80. advent-of-code

    Attempts to solve Advent Of Code. (by ilvez)

    My solutions: https://github.com/ilvez/advent-of-code/tree/main/2021/day_05

  81. aoc2021

    Source / Blog

  82. advent-of-code

    GitHub

  83. aoc2021

    Advent of Code 2021 (by otsu81)

  84. Part Two wasn't super efficient (takes like 5 seconds?) but I made a pretty simple solution in Python

  85. I used numpy and regrex for almost all problems so far. GitLab

  86. AOC

    Advent of Code (by recombinatrix)

    On github

  87. aoc2021

    Discontinued Quick'n dirty macro set for advent of code 2021 (by samueltardieu)

    Rust and its lovely iterators: https://github.com/samueltardieu/aoc2021/blob/main/src/day5.rs

  88. aoc2021

    Advent of code 2021 in Kotlin! (by crnkofe)

  89. AdventOfCode2021

    solution 1 and solution 2

  90. Advent-of-Code

    Source (Github)

  91. adventofcode2021

    Advent of Code 2021 (by r0f1)

  92. Advent-of-Code

    I'm using my vector type again for the coordinates. For them I defined these two types:

  93. advent-of-code

  94. aoc2021

  95. aoc

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

    Full code in GitHub.

  96. AdventOfCode2021

  97. aoc-2021-in-kotlin

  98. advent-of-code

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

  99. advent2020

    Advent of Code solutions that optimise effort, tastefulness and brevity in roughly that order (by combatopera)

  100. advent-of-code

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

  101. Advent_of_Code

    My Advent of Code solutions. (by Farbfetzen)

    My solution in Python. Now it starts to get interesting. I need to remind myself to use collections and itertools more often.

  102. submarine

    AdventOfCode 2021

  103. adventofcode

    Advent of code solutions (by mathsaey)

  104. Advent_of_Code_2021

    My solutions to Advent of Code 2021 (by neelakantankk)

    Bless Python's sets! Makes checking for membership such a breeze!

  105. AOC2021-postgresql

    Advent of Code 2021 done with vanilla postgresql.

    Part 1 GitHub explain.dalibo.com

  106. aoc-2021

    Advent of Code 2021 (by mintopia)

    Github

  107. advent_of_code_2021

    Day 5 Solution in Rust

  108. advent-of-code-2021

  109. aoc2021

    Solutions to Advent of Code 2021 (by jubnzv)

    OCaml solution for the first part:

  110. AdventOfCode

    Learning Julia through AoC, would appreciate any tips or pointers people have. My solution might be a bit terse, as I'm trying to limit line count, but there might be better ways of doing that.

  111. AoC2021

    Advent of Code implementations in awk, maybe :) (by ofrank123)

    github

  112. AdventOfCode2021

    gitHub

  113. advent-of-code

    My solutions to the Advent of Code (by aaronreidsmith)

    Scala using foldLeft over a Map[(Int, Int), Int] and then just counting

  114. advent-of-code

    Overkill Go solution. I had used Bresenham algo when I saw first part, turns out it was not necessary in part two.

  115. AdventOfCode

    Advent of Code Solutions (by auxym)

  116. adventofcode

    Advent of code solutions (by julian-west)

    Python day 5 solutions using Bresenham's algorithm (Github)

  117. AdventOfCode

    C# / linq FTW: https://github.com/graemefoster/AdventOfCode/blob/main/src/AdventOfCode/Day5/Day5.linq

  118. aoc2021

  119. aoc2021

    Advent of Code 2021 (by jenarvaezg)

  120. Advent-of-Code

  121. godvent

    Advent of Code solutions in Go

    Go, complete solution. 355/239

  122. aoc2021

    X86 assembly (linux) (also on github: https://github.com/jonay2000/aoc2021/blob/master/day5/day5.S)

  123. aoc2021

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

    My solution in Python. Nothing to boast about: lazy brute force, if that makes any sense. The optional dependency on tqdm helped muster patience.

  124. tqdm

    :zap: A Fast, Extensible Progress Bar for Python and CLI

    My solution in Python. Nothing to boast about: lazy brute force, if that makes any sense. The optional dependency on tqdm helped muster patience.

  125. aoc-2021

    Advent of Code 2021 (by dwalker109)

    Rust

  126. aoc2021

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

  127. AdventOfCode2021

    F#, struggled a bit with diagonals. https://github.com/wegry/AdventOfCode2021/blob/main/Day05.fs

  128. advent-of-code

    Collection of 2021's Advent of Code solutions in Python (by barrezif)

    my day5 pt 1 python code

  129. advent_of_code_2021

    advent of code 2021 attempted with clojure (by jpe90)

  130. advent-of-code-2021

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

  131. advent-of-code

    My solutions for Advent of Code (by Apreche)

  132. fp-ts

    Functional programming in TypeScript

    I've been learning fp-ts (https://github.com/gcanti/fp-ts) recently, so I've mostly been implementing them with that, though with some time pressures I'm occasionally dropping in bits of imperative code here and there.

  133. advent-of-code

    Advent of Code puzzles (by KT421)

  134. Rust--Advent-of-Code

    Advent of Code 2021 in Rust

  135. aoc2021

    Advent of Code 2021 (by Legolaszstudio)

  136. AOC2021

    Advent of code solutions 2021 (by calebwilson706)

  137. AoC2021

    Day 5 - Hydrothermal Venture

  138. advent-of-code-2021-kotlin

    🎄 Solutions to Advent of Code 2021 in Kotlin 💜

  139. AoC

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

    second commentrust this time

  140. AoC-2021

    Advent of Code 2021 code (by djm30)

    Solution

  141. advent-of-code-2021

    Advent of code 22021 (by RansomTime)

  142. advent-of-code

  143. AdventOfCode2021

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

  144. advent2021

    Github, Twitter thread

  145. advent-of-code

    Solution

  146. adventofcode

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

  147. Adent_of_Code_2021

    Solution

  148. day5

    JavaScript - both parts https://gitlab.com/adventofcode-2021/day5

  149. advent-of-code

    Advent of code solutions (by rbusquet)

  150. advent2021

    Advent of Code 2021 in Rust (by jeremylt)

  151. aoc

    Advent of Code solutions in Go (by sebnyberg)

    Go https://github.com/sebnyberg/aoc/blob/main/2021/day5part2/p_test.go

  152. AdventOfCode2021

    My solutions for Advent of Code 2021. (by ArtisanSelects)

    Python

  153. AOC2021_Solutions

    Discontinued Solutions of Advent of Code 2021 in Rust

    My rust solution: [Day 5 - Github](https://github.com/abhinavr93/AOC2021_Solutions/tree/main/Day5)

  154. advent_of_code_2021

    Solutions for Advent of Code 2021 (by ropewalker)

    Rust: https://github.com/ropewalker/advent_of_code_2021/blob/master/src/day05.rs — I am sure it could be made faster and prettier, but, alas, I couldn't think of how.

  155. AdventOfCode

  156. aoc

    Advent of Code Solutions (by joeyemerson)

  157. advent-of-code-2021

    My Advent Of Code 2021 solutions (by jszafran)

    Here's my pretty verbose solution in Python (probably will be easier to read on github than here): https://github.com/jszafran/advent-of-code-2021/blob/master/day-5/solution.py

  158. AdventOfCode2021

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

    Nim, Julia, Python

  159. adventOfCode21

    What an elegant solution. Mine takes over 350 lines.

  160. adventofcode-2021-solutions

    Solutions for Advent of Code 2021 edition

  161. aoc2021

    Advent of code https://adventofcode.com/ (by FlakM)

    The orientation calculation could be done by matrix indexes operations https://github.com/FlakM/aoc2021/blob/main/day5/task1/src/main.rs and then its easier to create ranges. You can also use some clever crates and get some calculations for free https://github.com/timvisee/advent-of-code-2021/blob/master/day05b/src/main.rs

  162. advent-of-code-2021

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

    The orientation calculation could be done by matrix indexes operations https://github.com/FlakM/aoc2021/blob/main/day5/task1/src/main.rs and then its easier to create ranges. You can also use some clever crates and get some calculations for free https://github.com/timvisee/advent-of-code-2021/blob/master/day05b/src/main.rs

  163. aoc-typescript

  164. advent-of-code-go

    All 10 years of adventofcode.com solutions in Go/Golang (and a little Python); 2015-2024

  165. AoC_2021

    Advent of Code solutions in R (by denbogdan)

    I am wrangling the input with tidyr and then refusing to actually code the solution with tidyr as well, so here goes nothing: a truly incomprehensible algorithmic solution in base R that takes a few seconds to run but does the job. But at least with this solution I got to make a pheatmap I am immensely proud of.

  166. advent-of-code

    Advent of code solutions (by tallbikeguy)

  167. aoc

    My solutions to adventofcode.com (by ciscou)

  168. aoc2021

    Discontinued my advent of code 2021 solutions (by ttapupy)

  169. AdventOfCode

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

  170. AoC2021

  171. advent_of_code

    Advent of Code (by bbgmp)

    Github

  172. AoC-2021

    Another solution in F#: day05.fsx

  173. advent-of-code-2021

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

    Thought today's solution looked pretty clean. Regex for parsing the input, a HashMap for saving overlaps and a simple .scan() for generating the points.

  174. AdventofCode2021

  175. aoc2021

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

  176. Advent-of-Code

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

    Some really ugly C# solution

  177. adventofcode

    Python 3.8 solution This was difficult, I debugged for 2 hours to find out I wasn' counting the first time I encountered a diagonal... However I'm sattisfied, this is pretty quick

  178. aoc

    Advent of Code - Rust edition 🦀 (by hkennyv)

  179. advent-of-code-2021

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

    Clojure solution. I tried to refactor it so it's readable (I hope so). I also include a small write-up note.

  180. advent-of-code-2021

    PHP solution, also available on Github. It's not very optimal as far as memory consumption is concerned. The reason is that for a range of, for example, 1,1 => 4,4, it will allocate memory for four pairs. These might then get incremented if another line crosses either of the coordinates.

  181. advent-of-code

    https://github.com/artesea/advent-of-code/blob/main/2021/05a.php%5D

  182. adventofcode

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

    F#, Readable single function to solve both parts, Learning F# so preferring strong types, use as much as in-built functions, and avoiding loops

  183. Advent-Of-Code

    Discontinued Advent of code 2021 (by ffamilyfriendly)

    challenge 2 execution time of ~0.4 seconds. I'll try better tomorrow

  184. advent-of-code-2021

    🎄 Solutions to Advent of Code 2021 in Python (by python-b5)

    Part 1

  185. adventofcode

    Python 3 I used namedtuples and yield to keep things simpler. In the second part, it is so much easier to write if statements rather than trying to generalize the cases. https://github.com/EnisBerk/adventofcode/tree/master/day5

  186. advent_of_code

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

    The full solution is on GitHub but the two key functions are:

  187. advent-of-code-2021

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

    But hey, it works. ¯\_(ツ)_/¯ https://github.com/ThePituLegend/advent-of-code-2021/tree/main/day5

  188. advent-of-code-2021

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

  189. aoc

    Python no external libraries.

  190. advent-of-code-2021

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

    Love that I'm seeing more Kotlin, here's mine -- Kotlin Solution

  191. AdventofCode2021

    My Python solution is on my GitHub Repo.

  192. AdventOfCode

    Advent of Code (by thedavecarroll)

    [GitHub](https://github.com/thedavecarroll/AdventOfCode/blob/main/2021/PowerShell/Day5.ipynb)

  193. advent-2021

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

  194. CodingExercises

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

    Nicer than my solution: rust

  195. advent-of-code

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

    First 2D one! Got to reuse my InfiniteGrid class, which made this much easier.

  196. AdventCode

  197. advent2021

    advent woop woop (by gende0808)

    PHP part one 26 lines

  198. advent-of-code

    🎄 This is my set of awesome solutions for the Advent of Code puzzles (by garciparedes)

    Here is my 🦀 Rust solution for the 🎄 AdventOfCode's Day 5: Hydrothermal Venture - Part 1: https://github.com/garciparedes/advent-of-code/blob/master/2021/05_hydrothermal_venture_part_1.rs - Part 2: https://github.com/garciparedes/advent-of-code/blob/master/2021/05_hydrothermal_venture_part_2.rs

  199. adventofcode

    Advent of Code Repo for Zach Attakk (by ZachAttakk)

    Part 1, Part 2 , my notes.

  200. advent-of-code-2021

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

    Not nicest but learning Rust again, https://github.com/pavel1269/advent-of-code-2021/blob/main/src/day05/mod.rs . Simple solution using 2d vectors for the map, memory is cheap.

  201. aoc2021

    Advent of Code - 2021 (by ramrunner)

    day 5 in repo

  202. advent-2021

    Advent of Code 2021 solutions (by OmarAssadi)

    Path: Path.java Input Parser: PathInputParser.java

  203. advent-of-code

    Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels. (by letelete)

    Link to the GitHub repo

  204. advent-of-code-2021

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

    Neat, our code is quite similar, though yours is far superior - love the Point class and use of the dataclass decorator. Stole use of Counter, which improved my runtime for part one by an embarrassing amount. https://github.com/americanhanko/advent-of-code-2021/blob/master/05/vents.py

  205. advent-of-code-2021

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

  206. AdventofCode

  207. AoC

    Advents of Code in NASM x86_64 assembly (by JustinHuPrime)

    Part 1 and part 2 are both very similar. I maintained an actual map of the vents in memory (it's less than a megabyte). I then drew either horizontal and vertical lines (for part one and two) and slope-up and slope-down diagonals (for part two alone) by incrementing the map wherever a vent appeared. This isn't safe if there's more than 255 intersections, but there weren't, so we're good. I could also have used a larger map if the number of intersections got too high.

  208. aoc21

    You can find the whole thing here

  209. advent-of-code-2021

    Discontinued Advent of Code 2021 (by cdrowley)

    I had to map everything to a class to understand what to do: [github]

  210. advent-of-code

    solutions for Advent of Code (by micod-liron)

  211. Advent-of-Code-2021

    GitHub/HydrothermalVentMapper.java

  212. AdventOfCode2021

    AdventOfCode 2021 solutions (by Meldanor)

  213. aoc

    Advent of Code (by c-kk)

  214. advent-of-code

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

    Javascript: https://github.com/etnichols/advent-of-code/tree/master/day5

  215. adventofcode2021-day5

    Did two versions to compare Scala and Rust justinhj/adventofcode2021-day5 justinhj/adventofcode2021-day5-scala/

  216. adventofcode2021-day5-scala

    Did two versions to compare Scala and Rust justinhj/adventofcode2021-day5 justinhj/adventofcode2021-day5-scala/

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

  • -🎄- 2021 Day 23 Solutions -🎄-

    48 projects | /r/adventofcode | 22 Dec 2021
  • Real time in no time

    1 project | dev.to | 9 Dec 2024
  • Advent of Docker: Day 0

    1 project | dev.to | 2 Dec 2024
  • My December Adventure (of code)

    1 project | dev.to | 1 Dec 2024
  • 2024 Developer Advent Calendars

    1 project | dev.to | 30 Nov 2024

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