adventofcode_2021
aoc
adventofcode_2021 | aoc | |
---|---|---|
5 | 22 | |
2 | 1 | |
- | - | |
1.8 | 9.0 | |
over 2 years ago | 4 months ago | |
R | Raku | |
- | MIT License |
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_2021
-
-🎄- 2021 Day 12 Solutions -🎄-
That was the hardest so far for me. Pretty hacky and takes ~8s to finish. R / Rstats: Code
-
-🎄- 2021 Day 9 Solutions -🎄-
After some serious de-spaghettification: R / Rstats
-
-🎄- 2021 Day 4 Solutions -🎄-
R / Rstats: Code
-
-🎄- 2021 Day 3 Solutions -🎄-
R: Code Julia: Code
-
Anyone doing the advent of code?
I'm also doing R and Julia. I (ab)used R's recycling. I'm also gonna stream it and make videos on Youtube with walkthrough. I'm not a programmer though, so there is definitely better answers out there. :)
aoc
- -❄️- 2023 Day 10 Solutions -❄️-
-
-❄️- 2023 Day 9 Solutions -❄️-
Full code at GitHub.
-
-❄️- 2023 Day 7 Solutions -❄️-
Edit: you don't need to determine the type of hand, but you can directly compare the card counts. Second version @GitHub.
-
-🎄- 2022 Day 13 Solutions -🎄-
New version @GitHub.
-
-🎄- 2022 Day 12 Solutions -🎄-
So, a new version with a lot less almost-duplicate code @GitHub.
- -🎄- 2022 Day 2 Solutions -🎄-
-
-🎄- 2022 Day 1 Solutions -🎄-
@GitHub
-
-🎄- 2021 Day 21 Solutions -🎄-
Completed part 2, see GitHub. I couldn't really use the same `DiracDice` class and simply use another `Die`, but had to create a separate `DiracDice2` class.Basically, just keep track of the possible universe state and their counts, and try all possible combinations of die rolls. Keep playing until all universes have a winner.
-
-🎄- 2021 Day 20 Solutions -🎄-
The rest is the same as my first attempt, but full code at GitHub.
-
-🎄- 2021 Day 18 Solutions -🎄-
I spent way too much time on this, but I completed my original attempt with the proper object model, see GitHub
What are some alternatives?
adventofcode
rockstar - The Rockstar programming language specification
aoc - Advent of Code
advent-2021 - [Moved to: https://github.com/Crazytieguy/advent-of-code]
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
adventofcode - Advent of code solutions
advent-of-code-2021 - zig solutions to advent of code 2021
Advent-of-Code - Advent of Code
AdventOfCode2021FSharp - Solutions for Advent of Code 2021 in F#
perlweeklychallenge-club - Knowledge base for The Weekly Challenge club members using Perl, Raku, Ada, APL, Awk, Bash, BASIC, Bc, Befunge-93, Bourne Shell, BQN, Brainfuck, C3, C, CESIL, C++, C#, Clojure, COBOL, Coconut, Crystal, D, Dart, Dc, Elm, Emacs Lisp, Erlang, Excel VBA, Fennel, Fish, Forth, Fortran, Gembase, GNAT, Go, Haskell, Haxe, HTML, Idris, IO, J, Janet, Java, JavaScript, Julia, Kotlin, Lisp, Lua, M4, Miranda, Modula 3, MMIX, Mumps, Myrddin, Nim, Nix, Node.js, Nuweb, OCaml, Odin, Ook, Pascal, PHP, Python, Postscript, Prolog, R, Ring, Ruby, Rust, Scala, Scheme, Sed, Smalltalk, SQL, Swift, Tcl, TypeScript, Visual BASIC, WebAssembly, Wolfram, XSLT and Zig.