-❄️- 2023 Day 4 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

    Let's go! (by tywhisky)

    I think you meant to link to this Solution ;)

  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

    Solutions to Advent of Code problems using Java (and some Guava) (by chandlerklein)

    For some reason I really struggled with part 2, originally going down the route of keeping a stack/queue. After a few hours I was too tired and used this solution for reference by u/LastMammoth2499, and now it makes sense:

  4. AdventOfCode2023

  5. AoC2023

    Advent of Code 2023 (by gereons)

    [Language: Swift] (code)

  6. advent-of-code

    Discontinued My solutions for Advent of Code (2019-2022) (by dannyvankooten)

  7. Advent_of_Code_2023

    My attempt for Advent of Code 2023. Will try in Python first, Rust if/when I have time. (by ray10k)

  8. aoc23

    Advent of Code 2023 solutions written in Deno (by dmatis2)

  9. SaaSHub

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

    SaaSHub logo
  10. My solution: https://github.com/LinAGKar/advent-of-code-2023-rust/blob/master/day4/src/main.rs

  11. Advent_Of_Code

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

  12. advent_of_code

    Advent of Code solutions (by Busata)

  13. aoc-2023-in-kotlin

    Aoc 2023 in Kotlin!

  14. advent-of-code

    Code for advent of code. In different languages n that. (by maxastyler)

    github

  15. advent-of-code

    Both parts

  16. Advent-of-Code-2023

    [LANGUAGE: Python]

  17. advent-of-code

    Discontinued Welcome to my solutions for Advent of Code (by 0xblazy)

    GitHub

  18. AdventOfCode

    Hacky solutions for https://adventofcode.com (by AllanTaylor314)

    Code: main (5f0a9a8)

  19. adventofcode

    Solutions to AoC puzzles (by alkurbatov)

  20. AdventOfCode2023

    For more days pointlessly made into one-liners check out my GitHub

  21. advent-of-code-23

  22. aoc2023

    Solutions, tests and framework for Advent of Code 2023 in Scala. (by sanraith)

    Full code is available on my github: Day04.scala Used a map in P2 to memoize how many total cards you get from a given card.

  23. aoc-excel-2023

    Discontinued Advent of Code 2023 with only Excel

    Github for all days

  24. aoc23

  25. aoc2023

    Advent of Code 2023 (Mojo)

  26. advent-of-code

    Code: https://github.com/akashdeepnandi/advent-of-code/blob/main/day4/index.js

  27. advent2023

  28. aoc

    contains my solutions for different advent-of-code years (by handsomefox)

    [LANGUAGE: Go] Enjoyed this one GitHub

  29. advent_of_code_2023

  30. advent-of-code-2023

  31. advent-of-code

    advent of code solutions (by messcheg)

  32. advent-of-code

    Advent of Code 🎄 (by vinc)

  33. adventofcode

    Advent of code solutions (by mathsaey)

    [Language: Elixir] https://github.com/mathsaey/adventofcode/blob/master/lib/2023/4.ex

  34. adventofcode2023

    my C/rust Solution to advent of code 2023 (by yufusuf)

  35. advent-of-code

    my submission in C# to Advent of Code challenge https://adventofcode.com/ (by dr124)

    [Language: C#] Today very clean one https://github.com/dr124/advent-of-code/blob/master/Advent._2023/Week1/Day4.cs

  36. adventofcode2023

    my attempt at adventofcode 2023 (by crazymerlyn)

  37. aoc-2023

    13 year old tries aoc (by kenan238)

    [LANGUAGE: Python] https://github.com/kenan238/aoc-2023/blob/main/day4/main.py

  38. adventofcode

    Advent of Code (by ednl)

    C has no intersection operation, so I sorted the numbers and counted the matches "manually". Only kept an array for the number of card copies and could do the rest while reading the input. Runs in 3.2 ms on an old 2013 iMac, 3.9 ms on a Raspberry Pi 4 (cpu governor = performance). Short code, only one separate function for sorting: https://github.com/ednl/adventofcode/blob/main/2023/04.c

  39. advent-of-code

    Readable javascript solution. I will be pushing updating the repo with each days solutions, Love to hear the feedbacks. https://github.com/sanishchirayath1/advent-of-code/blob/master/2023/day4/index.js

  40. playground

  41. advent-of-code

  42. aoc2023

    Discontinued Solutions to Advent of Code 2023 (by thinnerthinker)

  43. aoc2023

    my advent of code 2023 solutions (by sourishsharma17)

    p1 https://github.com/SourishS17/aoc2023/blob/main/four-a.py

  44. advent

    advent of code (by arroo)

    day 4

  45. aoc_2023

    My solutions to Advent of Code 2023 written in Ruby

    Github

  46. advent-of-code

    Solving Advent of Code (by pemoreau)

    [LANGUAGE: Golang] https://github.com/pemoreau/advent-of-code/blob/main/go/2023/04/day04.go

  47. ADVENT2023

  48. adventofcode23

    Solutions for https://adventofcode.com/2023 (by oriontvv)

    [LANGUAGE: Rust] Pretty simple code

  49. advent-of-code

    Solutions to the Advent of Code problem sets. (by ChrisTopping)

    Github for both parts

  50. advent-of-code

    Advent of code solutions (by nicolas-sabbatini)

    Part A: Link

  51. advent-of-code

    Advent of Code 2021-2024, JS/Rust/Python (by Joxter)

    recursive (1ms) and non-recursve (36ms) solutions https://github.com/Joxter/advent-of-code/blob/master/2023/js/day04.js

  52. advent-of-code-2023

    Common lisp solutions to Advent of Code 2023 (by bo-tato)

    full code: https://github.com/bo-tato/advent-of-code-2023/blob/main/day4/day4.lisp

  53. aoc2023

  54. advent2023

    Code

  55. adventofcode2023

    Source

  56. aoc-2023

    Solution on GitHub; video on YouTube.

  57. advent-of-code-kotlin-solutions

    My solutions to AoC puzzles in Kotlin.

    AocKt Y2023D04

  58. AdventOfCode2023

  59. Advent-of-Code-2023

  60. AoC2023

    My solutions to Advent of Code 2023 https://adventofcode.com/2023 (by PetchyAL)

  61. advent-of-code-2023

    Solution in Go (Golang) for Advent of Code 2023 (by silverark)

    [LANGUAGE: Go] https://github.com/silverark/advent-of-code-2023/tree/master/day4

  62. adventofcode

    Advent of Code Repo for Zach Attakk (by ZachAttakk)

    Part 1

  63. AdventofCode2023

    My advent of code code :) (by RGodwinDev)

  64. AdventOfCode2023

    [LANGUAGE: Python] https://github.com/CakeDayZ/AdventOfCode2023/blob/main/day4.py

  65. advent-of-code

    My solutions to https://adventofcode.com problems (by TomWagg)

    Github

  66. adventofcode2023

    Code

  67. AdventOfCode

    Multiple years of Advent of Code solutions. (by SwampThingTom)

    Scratchcards.rs

  68. advent-of-code

    Repository for my Advent of Code answers (by CalSimmon)

    GitHub Link to Solution

  69. advent-of-code

    GitLab

  70. advent-of-code-2023

    Discontinued Doing every day of advent of code in a different programming language! (by JJWRoeloffs)

    Challenging myself to do it in a different language every day, starting out with some more niche languages. Github

  71. advent-of-code

  72. adventofcode

  73. advent-of-rust-2023

    Advent of Code 2023 solutions, Rust as always

    Code

  74. Advent-of-Code-2023

    Solutions for Advent of Code 2023 (by FCayouette)

    cpp file on GitHub

  75. aoc2023

    My Advent of Code 2023 solutions (by hugseverycat)

    Here's my solution: https://github.com/hugseverycat/aoc2023/blob/master/day04.py

  76. Advent-Of-Code-2023

    These are my solutions for Advent of Code 2023 (by teismar)

  77. AdventOfCode2023

    Full program on GitHub and blog post about the problem

  78. AoC2023

    Standalones C solutions for AoC2023 (by Ily3s)

    [LANGUAGE: C] C standalone

  79. AdventOfCode2023

    SQL Solutions to Advent of Code 2023 (by VeritableHero)

  80. Advent-of-code-2023

    Github

  81. advent_of_code

    Advent of Code attempts (by loopdreams)

  82. adventofcode

    Solution implementations to https://adventofcode.com puzzles (by codertee)

    Counter was useful here: github

  83. advent

    Solutions to https://adventofcode.com/ (by tsenart)

    No heap allocations: https://github.com/tsenart/advent/blob/master/2023/4

  84. adventOfCode2023

    Advent of Code 2023 Solutions in Golang (by Static-Flow)

  85. advent-of-code-2023

    My answers for the 2023 Advent of Code (by ZapDos7)

    [LANGUAGE: Java] - solutions for parts 1 + 2 - github

  86. advent-of-code

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

    [LANGUAGE: SystemVerilog] This year, I'm trying to solve AoC using SystemVerilog + CoCoTB/Verilator. 3/4 days, going strong! Link to Github - Day 4

  87. Pike

    Pike is a dynamic programming language with a syntax similar to Java and C. It is simple to learn, does not require long compilation passes and has powerful built-in data types allowing simple and really fast data manipulation. (by pikelang)

    [LANGUAGE: Pike] (see https://pike.lysator.liu.se/)

  88. advent-of-code-2023

    Advent of Code 2023 (Rust) (by bozdoz)

  89. advent-of-code

    Resolutions of Advent of Code in Rust (by gil0mendes)

    GitHub

  90. aoc-2023

    C++17 solutions to the Advent of Code 2023 coding puzzles (https://adventofcode.com/2023). (by charlescochran)

    github, 1148 microseconds (both parts together)

  91. advent-2023

  92. aoc-zig

    Part 1 and Part 2

  93. aoc-2023

    advent of code 2023 (by beakerandjake)

    github

  94. puzzles

  95. recursion-schemes

    Generalized bananas, lenses and barbed wire

    Reasonably proud of my part 2 solution, although would like to try using a recursion scheme rather than unstructured recursion:

  96. Advent-Of-Code

    Part1 and part2

  97. advent-of-code

    My journey through Advent of Code 2023 (by lucasteng123)

    Github

  98. Aoc2023

    Slightly better spaced version here

  99. AdventOfCode

    Solutions to Advent of Code (by loarabia)

    python solution with some type hinting. Part 2 could be sped up with some cache of values instead of calculating sets over and over agin. GitHub

  100. AdventOfCode

    Mis soluciones de los retos de advent of code (by DeybisMelendez)

    Github

  101. Advent-Calendar

    Solution

  102. Advent-of-Code

    Part 1: https://github.com/TheBlackOne/Advent-of-Code/blob/master/2023/Day4_1.py

  103. snippets

    View formatted on GitLab

  104. adventofcode

    Advent of Code challenge solutions (by flwyd)

    [Language: Jsonnet] (on GitHub)

  105. jsonnet

    Jsonnet - The data templating language

    [Language: Jsonnet] (on GitHub)

  106. aoc2023

    part1

  107. AdventOfCode

    Advent of Code Solutions (by DanielNovaesDias)

    Solution - Github

  108. advent-of-code-2023

    My Advent of Code 2023 Solutions (Go, Python and Typescript) (by torbensky)

    Python: https://github.com/torbensky/advent-of-code-2023/blob/main/day04/solution.py

  109. aoc

    Advent of Code (by gigobyte)

    Solved using types only: solution

  110. aoc2023-swift

    Solutions for Advent Of Code 2023 in swift

    code

  111. AdventOfCode-2023

    Solving Advent of Code 2023 in Java (by SAMURAii-7)

    Solution(Both Parts)

  112. Advent-of-Code

    [Pretty happy with the cleanliness of the code](https://github.com/Will-McBurney/AOC-2023/blob/master/src/main/kotlin/year23/day4/Main.kt), but it feels like the difficulty is all over the place right now.

  113. Advent-Of-Code-2023

    AoC 2023 solutions in Haskell (by daysleeperx)

    Github

  114. adventofcode

    on Github

  115. advent-of-code-23

    Helping the elves in winter, one language at a time. (by EshaanAgg)

    [Language: Rust] Source Code

  116. advent-of-code-2023

    My solutions for Advent of Code 2023, written in C#. (by igorzavojchevski)

    Day04 in C#.

  117. AdventOfCode2023

    AdventOfCode2023 (by marcodelmastro)

  118. advent-of-code

    :santa: :christmas_tree: :snowman: http://adventofcode.com/ solutions (by tlareg)

  119. adventOfCode

    Part 1: set intersection

  120. advent-of-code-2023

    Haskell (and Swift) solutions to Advent of Code 2023

    Here is a link to the source code on GitHub, both the normal one and the minified "punch-card" one.

  121. aoc

    🎄Advent of Code in Godot using GDScript (by anthonyec)

    Solution to Part 1 and 2

  122. adventofcode

    Advent of Code solutions. (by ejrsilver)

  123. advent-of-code

    Advent of Code (by MichaelBrunn3r)

  124. AdventOfCode2023

    Advent of Code 2023 solutions (by johnpmay)

    github link

  125. adventofcode

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

    [LANGUAGE: TypeScript] Github - Under 40 lines, all parts running under 8ms.

  126. aoc

    Discontinued Advent of Code solutions written in Rust. (by skifli)

  127. advent-of-code

    Full code is on Github

  128. AOC23-Day4-scratchcards

    github

  129. advent-of-code-2023

    Solutions to Advent of Code 2023 puzzles https://adventofcode.com/2023 (by Lysander6)

    github

  130. aoc-2023

    Discontinued My Advent of Code 2023 Solutions [Moved to: https://github.com/AJMansfield/aoc] (by AJMansfield)

  131. advent-of-code-2023

    First time tackling the advent of code challenge. Lets go! (by qzhang1)

  132. AoC2023

    Advent of Code 2023 solutions (by sputnick1124)

    Much better commented version here

  133. adventofcode2023

    Solution in PHP for day 4: https://github.com/mariush-github/adventofcode2023/blob/main/04.php

  134. AOC2023

    Advent of Code 2023 (by wlmb)

  135. AoC2023-python

    My Python solutions for the Advent of Code 2023 event (https://adventofcode.com/2023)

    GitHub (15/16 lines with a focus on readability)

  136. advent-of-code

    Advent of Code Solutions 🎄 (by samyuh)

  137. adventofcode

    [Language: Go] solution (Both Parts)

  138. advent

    Learning Go with Adventofcode (by Moopinger)

    I ended up with a similar struct. Here are mine.

  139. AdventOfCode

    My JS solutions for the famous Advent of Code challenges (by KhadidjaArezki)

  140. AoC23

    [LANGUAGE: Onyx] Day 4 Solution

  141. AoC2023-PowerShell

    Part 1: Pretty straightforward. Scan the lines, create 2 arrays. When a match is found, multiply the points by 2 (or add one on the initial draw). Part 2: Used an additional array to store the amount of copies of a card. When a number matches, increase the next card to be increased by the amount of cards of the type that's currently being checked.

  142. advent-of-code

    My solutions to the Advent of Code puzzles (by hiimjasmine00)

  143. Advent-Of-Code-2023

    Solutions to AoC 2023 in Swift (by Jomy10)

    source

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

  • -❄️- 2023 Day 6 Solutions -❄️-

    298 projects | /r/adventofcode | 6 Dec 2023
  • -❄️- 2023 Day 10 Solutions -❄️-

    141 projects | /r/adventofcode | 9 Dec 2023
  • -❄️- 2023 Day 9 Solutions -❄️-

    196 projects | /r/adventofcode | 8 Dec 2023
  • -❄️- 2023 Day 8 Solutions -❄️-

    200 projects | /r/adventofcode | 7 Dec 2023
  • -❄️- 2023 Day 5 Solutions -❄️-

    149 projects | /r/adventofcode | 5 Dec 2023

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