-❄️- 2023 Day 5 Solutions -❄️-

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • AdventOfCode

  • Here's the optimized Part 2: https://github.com/rtrinh3/AdventOfCode/blob/f277486bb7f9501c208e1c70c791738bb277c5f1/Aoc2023/Day05.cs

  • adventofcode2023

    https://adventofcode.com (by SleepingInsomniac)

  • [LANGUAGE: Crystal] Part 2 - Optimized

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • advent-of-code-2023

    Haskell (and Swift) solutions to Advent of Code 2023

  • It runs instantly. Loads of fun again. Here is the link to to the full solution

  • adventofcode

    Advent of Code solutions. (by ejrsilver)

  • advent2023-rust

  • My Day 05 on GitHub

  • aoc2023

    Advent of Code 2023 (by abnew123)

  • Solution: https://github.com/abnew123/aoc2023/blob/main/src/solutions/Day05.java . Warning: this takes a good 5 minutes to run part 2, it's literally just the same code as part 1 but throwing the whole range in one at a time. Edit: warning no longer applies, part 2 is now 6ms runtime.

  • aoc2023

    Solutions to Advent of Code 2023 (by thinnerthinker)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • AoC2023

    Python code for Advent of Code 2023 (by p3rki3)

  • aoc2023

  • github

  • day_05.ex

  • Part 1

  • aoc_rust_2023

    Advent of Code 2023 solutions in Rust.

  • AdventOfCode2023Python

    Solutions for Advent of Code 2023 in Python

  • Advent-of-Code-2023

  • advent-of-code

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

  • aoc2023

  • Task 2: takes about 4+ minutes to complete in Python, but when translated to Go, it takes just around 4 seconds. https://github.com/djudju12/aoc2023/tree/main/day5

  • AoC2023_NodeJS

  • Code: Day5

  • aoc2023

  • aoc

    Advent of Code (by gkwaerp)

  • Day 05: GitHub

  • Advent-of-Code-2023

    Solutions for Advent of Code 2023 (by FCayouette)

  • Day 05: GitHub

  • advent-of-code

    For sharing my adventofcode.com solutions (by kbielefe)

  • [LANGUAGE: Scala] GitHub

  • aoc-2023

    Advent Of Code 2023 - in nim (by runekaagaard)

  • AdventOfCode

    My solutions to Adventofcode (by sergiosgc)

  • Source on Github

  • AdventOfCode2023

  • Program on Github.

  • advent-of-code

  • adventofcode23

    advent of code solutions, 2023 (by katstasaph)

  • aoc23

  • aoc_2023

  • adventOfCode

  • advent-of-code

    My C# .NET solutions to the ever popular Advent of Code (by tmbarker)

  • GitHub

  • advent-of-code

    Advent of Code Programming Puzzles (by foolnotion)

  • Part 1

  • aoc-2023

  • aoc2023

    Advent of Code 2023 in Rust (by Fabi019)

  • aoc

    Advent of Code solutions (by fuzesmarcell)

  • advent-of-code-2023

  • “I've never written Rust in my life before AoC 2023 code”

  • advent-of-code

  • Optimised version is here, you can look at the previous commit for this file to see the unoptimised version

  • aoc2022

    Advent of Code 2022 (by efvincent)

  • Github

  • advent-of-code-2023

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

  • advent-of-code-2023

    My solutions to Advent of Code 2023 (by ThomasBollmeier)

  • aoc2023

    Advent of Code 2023 (Mojo)

  • AdventOfCode

  • Code: Github

  • Solution - Part 1 and 2

  • noulith

    My noulith fork. 2023 advent of code solutions: https://github.com/tom-huntington/aoc2023 (by tom-huntington)

  • [LANGUAGE: noulith] fork

  • Aoc2023

  • Brute forced part 2 in a little over 2 minutes (release mode).

  • advent_of_code

  • Here is a link for my solution

  • Solution

  • AdventOfCode2023

  • PART 1: (87.125µs) https://github.com/Lacieoz/AdventOfCode2023/blob/main/5/first/solution.go

  • AdventofCode2023

    My advent of code code :) (by FinalFlashLight)

  • AdventOfCode

  • Day five repo

  • aoc23

  • code

  • AdventOfCode

  • code

  • adventofcode

  • adventofcode2023

    Advent of Code 2023 (by schoelle)

  • aoc2023

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

  • Full source available on my github: Day05.scala

  • advent-of-code

    My Advent of Code solutions (by thomasschafer)

  • part 2

  • AdventOfCode2023

    My solutions for Advent of Code 2023 (by akaritakai)

  • 556/83 (Solution)

  • advent_of_code

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

  • Advent_of_Code

  • The rest is boilerplate. Here is a clear and simple (I hope) python code to implement this: https://github.com/GillesArcas/Advent_of_Code/blob/main/2023/05.py

  • goaoc2023

  • solution Essentially brute forced part 2, but by reducing the memory used it only takes about 3 minutes to get the solution.

  • advent-of-code-2023

    My javascript solutions for Advent of Code 2023 - feedback is welcome (by DCampagnola)

  • GitHub

  • adventofcode

  • advent-of-code

    Advent of Perl Code (by bbrtj)

  • Github

  • aoc-2023

    Advent of Code (by makes)

  • Part 1: https://github.com/makes/aoc-2023/blob/main/5/5_1.py

  • advent_of_code

    C++23 solutions to advent of code puzzles -- various years complete. (by jwezorek)

  • advent-of-code

    AOC 2023 solutions (by reniby)

  • Part 1 and 2

  • advent-of-code-2023

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

  • My solution to part1 was fairly short and clean I think. For part2 it got kind of messy but at least it runs fast: https://github.com/bo-tato/advent-of-code-2023/blob/main/day5/day5.lisp

  • advent-of-code-2023

  • aoc-2023

  • Code here

  • AOC2023

    My code for y2023 AdventOfCode (by vorber)

  • adventOfCode23

  • advent-2023

  • aoc

    My Advent of Code code from 2015-present (by dplassgit)

  • Part 1

  • AdventOfCode

    A collection of my Advent of Code scripts (by xhoneybear)

  • GitHub - AoC day 5 (Python)

  • adventofcode

    Solutions to the Advent of Code puzzles (by busser)

  • The code is here on GitHub.

  • advent-of-code-2023

    Advent of Code 2023 | Go (by dave-burke)

  • My solution

  • adventOfCode

  • Part 1 brute force mapping each seed

  • adventofcode

    Solutions for Advent of Code (by tipa16384)

  • Github Link

  • advent_of_code_2023

    repo for advent of code 2023, xmas themed coding challenge

  • adventOfCode2023

  • AdventOfCode2023.jl

    Advent of Code 2023 in Julia

  • Solution on GitHub: https://github.com/goggle/AdventOfCode2023.jl/blob/master/src/day05.jl

  • AdventOfCode

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

  • Github

  • AoC2023

    Advent of Code Challenges 2023 (by les-friesen)

  • aoc

    Advent of code (by SaahilClaypool)

  • Solution

  • aoc-2023

  • aoc2023

  • aoc23-hs

    Advent Of Code 2023, in Haskell

  • Part 1 Part 2

  • arturo-aoc-2023

    AOC 2023 in Arturo

  • AdventOfCode

    Repository to store the solutions for AdventOfCodes. 2021 in Apex, 2022 a mix, 2023 in JS, challenge accepted! (by foxysolutions)

  • Kind of proud of my solution. Interestingly it isn't that complex, though just so many numbers which can be easily swapped around xD Especially in early mornings. Curious for others' thoughts and readability ;)

  • advent-of-code-2023

    🎄 My Advent of Code solutions in Rust. http://adventofcode.com/2023 (by timvisee)

  • A in 0.015 ms (15 μs): https://github.com/timvisee/advent-of-code-2023/blob/master/day05a/src/main.rs

  • aoc2023

    Advent of Code 2023 in Lua (by cideM)

  • GitHub Repository

  • adventofcode_2023

    solutions for Adventofcode 2023 (by rezaerami)

  • hey fellas, here is day 5 solutions on js https://github.com/rezaerami/adventofcode_2023/tree/master/Day05 didn't like my solution for second part, too inefficient

  • aoc2023

    My solutions for Advent of Code 2023 (by Kodlak15)

  • Not the most efficient solution (to put it mildly), but it is a solution: Solution

  • aoc2023

  • Walkthrough

  • aoc

  • LongRange

  • aoc-2023

    Advent of Code 2023 (by jokr-1)

  • Used Rusts ranges to solve this one. My basic idea for part 2 was that every stage maps the input-range to a new set of ranges and so on. At the end I get all ranges and can map to the lowest start. The code is a bit clumsy I guess, but its fast.

  • aoc2023

    Advent of Code 2023 in Python, Rust, Haskell (by AnesFoufa)

  • Day's code

  • advent_of_code

    Advent of Code solutions in Rust (by cainkellye)

  • Finally, I finished part 2 with the range mapping solution as well: https://github.com/cainkellye/advent_of_code/blob/main/src/y2023/day05.rs

  • aoc2023

    #aoc2023 #adventofcode (by Lakret)

  • Code

  • aoc2023

    Advent of Code - 2023 (by AloizioMacedo)

  • Link to full solution

  • adventofcode

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

  • AdventOfCode2023

  • advent-of-code

  • Part 1 - Brute force, but was please with my parsing logic. Solved on day 5. When I realised what Part 2 needed, tried the brute force option whilst going away for lunch, but when I returned and it was still running knew that it wasn't going to be a great idea.

  • advent

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

  • advent-of-code-2023

  • I'm pretty sure there's a more optimized version of creating the intervals but I was spent after thinking about this for a day. See it here.

  • advent-of-code-2023

    Advent of Code 2023 (Rust) (by bozdoz)

  • advent-of-code-2023

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

  • adventOfCode

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

  • day5

  • advent-of-code-2023

  • aoc23

    My solutions to Advent of Code 2023 (by choroba)

  • Advent-of-Code

  • aoc2023

    Advent of Code 2023 (by MeisterLLD)

  • aoc

    Advent of Code (by wleftwich)

  • Part 2 is bfs, runs in under 10 ms on my laptop. https://github.com/wleftwich/aoc/blob/main/2023/05-seed-fertilizer.ipynb

  • AoC

    Solutions to Advent of Code challenges using random languages each year. (by sopyb)

  • part1/part2/combined

  • advent_of_code

    My solutions to the Advent of Code event (by Robin270)

  • Anyway, here it is.

  • AoC2023

    Advent of Code 2023 (by EricKalkman)

  • github

  • advent-of-code

    Advent of Code (by MichaelBrunn3r)

  • advent-of-code-js

    Clear, efficient and didactic solutions for the Advent Of Code puzzles, in JavaScript. (by JoanaBLate)

  • code on github

  • advent-of-code-2023

    Solutions to Advent of Code 2023 (by warriordog)

  • My solution works by slicing the maps until each range of seed IDs matches to exactly one range of location IDs. Then, I only need to check one value from each range which is a lot faster. This currently completes in about 25 ms, although there's plenty of room for improvement.

  • Advent-of-Code

  • advent-of-code-2023

    Advent of Code 2023 (by juanplopes)

  • AdventOfCode

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

  • Part 1 only because I give up

  • aoc2023-day5-p2-java

  • [LANGUAGE: JAVA] I came up with a similar idea to the common range idea I see posted here. https://github.com/dwest62/aoc2023-day5-p2-java

  • AdventOfCode2023

  • Part 1

  • advent-of-code-one-liners

    🐍📅 One-line Python solutions for Advent of Code 2022 and 2023.

  • A day late to post, but here is my one-line Python solution for both parts of Day 5! q[5] has the input file contents.

  • ghcup-hs

    THIS REPO IS A MIRROR, BUG REPORTS GO HERE:

  • Install Haskell using GHCup. In days of old installing Haskell used to be a pain, but nowadays Haskell comes with a self-isolated thing call ghcup - you install it once, and then it installs the rest of the universe in its own isolated directory that can be independently deleted or updated without affecting the rest of your system.

  • advent-of-code

    solutions for the advent of code (by steven-terrana)

  • Part 2

  • random-code-collection

    Random

  • Advent_Of_Code

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

  • CodingExercises

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

  • GitHub - Part 1 and 2

  • advent-of-code2023

    Solutions to AoC 2023 in Haskell || Python

  • Solution on GitHub

  • AOC

  • Solution on Github [part 2]

  • AoC-2023

  • One solution for both parts.

  • aoc-2023

  • Code: Github

  • aoc2023

    Elixir solutions for Advent of Code '23 (by erikson84)

  • Here's the full code: https://github.com/erikson84/aoc2023/blob/main/lib/day_five/day_five.ex

  • AoC

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

  • aoc-2023

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

  • AOC2023

    Advent of Code 2023 (by wlmb)

  • adventofcode

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

  • advent-of-code

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

  • Day4-seed-fertilizer

  • github

  • advent-of-code

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

  • 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