adventofcode.sh
Advent of Code 2020 and 2015, done in bash. Because why not? (by einarjon)
adventofcode
Advent of Code challenge solutions (by flwyd)
adventofcode.sh | adventofcode | |
---|---|---|
16 | 59 | |
14 | 6 | |
- | - | |
0.0 | 8.5 | |
about 2 months ago | 4 months ago | |
Shell | Julia | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
adventofcode.sh
Posts with mentions or reviews of adventofcode.sh.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-05.
-
-🎄- 2022 Day 6 Solutions -🎄-
I have completed years 2015 and 2020 in bash. Gave up halfway through last year, might do that one day. https://github.com/einarjon/adventofcode.sh
- Got answer but want to learn to better optimize for speed (2015, Day 6 Part 2)
- [2021 day 6] What's you're fastest solution?
-
[2015 day 04][Zig] Some tips to solve the problem without brute force?
Python3 is about 25% faster than Python2, with the exact same code. Pypy3 was somewhere in between. https://github.com/einarjon/adventofcode.sh/blob/main/2015/04.sh
-
That took me a while (First part 5 minutes, second part 5+ hours)
Mine is on github too. I think that my worst abuse of grep is this: https://github.com/einarjon/adventofcode.sh/blob/main/19.sh Before the cleanup my part2 regex was around 6-7K chars.
- -🎄- 2021 Day 8 Solutions -🎄-
-
-🎄- 2021 Day 7 Solutions -🎄-
My final script is in my repo, but an earlier commit has this brute force version. https://github.com/einarjon/adventofcode.sh in the 2021 folder.
-
-🎄- 2021 Day 4 Solutions -🎄-
Day 1 was 10 LOC, each day is adding about 10 LOC, so now I'm at 40. I don't like where this is heading. https://github.com/einarjon/adventofcode.sh/blob/main/2021/04.sh Small mistake in Part 2 so it starts the bingo from the beginning, but the first numbers are crossed out. Doesn't affect the result.
-
-🎄- 2021 Day 2 Solutions -🎄-
My solution this year was almost exactly like the one __abigail__ posted. I based it on last year's code for day 12. There are 50 days worth of bash solutions in that repo if you're interested. Some contain Voodoo, but it's mostly readable - I hope...
-
[2020/2015] Finally finished every single one in Bash
I linked to the code. Here it is again. Might be slower in git bash, but works. https://github.com/einarjon/adventofcode.sh/blob/main/13.sh
adventofcode
Posts with mentions or reviews of adventofcode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
-
-❄️- 2023 Day 10 Solutions -❄️-
Code on GitHub is currently a mess.
-
[2023 Day 5] Exlplanation Like I'm 5
In the spirit of the Day 5 ALLEZ CUISINE! challenge to ELI5 (Explain Like I'm Five), here's a tasty explanation of how my algorithm works using only a large bucket of Red Vines and a knife. It says to use lined paper, but if you try this at home consider aligning things on a cutting board.
-
-❄️- 2023 Day 4 Solutions -❄️-
[Language: Jsonnet] (on GitHub)
- -🎄- 2022 Day 25 Solutions -🎄-
-
-🎄- 2022 Day 24 Solutions -🎄-
Elixir code, thoughts
-
-🎄- 2022 Day 23 Solutions -🎄-
Elixir 1554/1502 code, reflections
-
-🎄- 2022 Day 21 Solutions -🎄-
Elixir 2506/3402 (24 minutes, 2 hours), code, thoughts
-
-🎄- 2022 Day 20 Solutions -🎄-
Bonus solution in Go (golang) because I was confused about why my Elixir solution didn't work and decided to implement from scratch in case I'd done something dumb. The Go one also got the wrong answer, but took less than 100ms instead of a minute, so I could try out lots of tweaks that didn't change the answer.
-
-🎄- 2022 Day 19 Solutions -🎄-
Elixir 2031/2641 after 3.25/6.5 hours! Code on GitHub
-
-🎄- 2022 Day 18 Solutions -🎄-
I spent time this afternoon sprucing up my helpers for the iex REPL. I spent a bunch of time poking at things in IEx the last couple days and wanted to make sure I would minimize keystrokes if I needed to debug things on my phone while drunk. Turns out Thursday night > Friday night > Saturday night in terms of difficulty, so all those macros have so far saved me zero seconds :-)
What are some alternatives?
When comparing adventofcode.sh and adventofcode you can also consider the following projects:
AdventOfCode2020 - Solutions to all 25 AoC 2020 problems in Rust :christmas_tree:
adventofcode - Solutions for problems from AdventOfCode.com
adventofcode
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
AOCx2022 - This repository contains my solutions for the Advent of Code 2022 event. Learn more about the event here - https://adventofcode.com/2022/about
aoc2021 - Advent of Code 2021 - my answers
advent - Advent Of Code
AdventOfCode2021.jl - Advent of Code 2021 in Julia
AdventOfCode
aoc2021 - Advent of Code 2021 on my homemade 16-bit CPU SCAMP
AdventOfCode - Advent of code
rockstar - The Rockstar programming language specification
adventofcode.sh vs AdventOfCode2020
adventofcode vs adventofcode
adventofcode.sh vs adventofcode
adventofcode vs adventofcode
adventofcode.sh vs AOCx2022
adventofcode vs aoc2021
adventofcode.sh vs advent
adventofcode vs AdventOfCode2021.jl
adventofcode.sh vs AdventOfCode
adventofcode vs aoc2021
adventofcode.sh vs AdventOfCode
adventofcode vs rockstar