advent-of-clojure
advent_of_code
Our great sponsors
advent-of-clojure | advent_of_code | |
---|---|---|
8 | 19 | |
4 | 5 | |
- | - | |
5.5 | 8.0 | |
5 months ago | about 2 months ago | |
Clojure | Dart | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
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.
advent-of-clojure
- -🎄- 2022 Day 8 Solutions -🎄-
-
-🎄- 2022 Day 6 Solutions -🎄-
Clojure: https://github.com/motform/advent-of-clojure/blob/master/src/advent_of_clojure/2022/06.clj
- -🎄- 2022 Day 5 Solutions -🎄-
-
-🎄- 2021 Day 10 Solutions -🎄-
Clojure, quite happy with this one, simply using a stack and the assumptions we know about the input to easily compare, filter and then match.
-
-🎄- 2021 Day 8 Solutions -🎄-
Clojure, for sure my worst one yet. BUT, I did get to use `clojure.set/invert-map` twice, so I count that as a partial win.
-
-🎄- 2021 Day 4 Solutions -🎄-
Clojure, using (almost) exclusively set logic. Looking at the other solutions, it could have probably been simplified, but I'm somehow compelled to use sets whenever I get the chance.
-
-🎄- 2021 Day 2 Solutions -🎄-
Very similar to mine, clearly the platonic Clojure solution to the problem.
-
-🎄- 2021 Day 1 Solutions -🎄-
Clojure, mainly list manipulation and `core`.
advent_of_code
-
-❄️- 2023 Day 9 Solutions -❄️-
Here's the relevant extract from my (recursive) solution. Full code on GitHub.
-
-❄️- 2023 Day 8 Solutions -❄️-
Like others, I used lcm. Here's an extract of the solution, omitting parsing and main(). Full solution on GitHub.
-
-🎄- 2022 Day 14 Solutions -🎄-
Solutions to parts 1 and 2 nearly identical and pretty much worked first time. Nothing clever here. This was far simpler than I thought it would be. I probably spent most time trying to think of a mathematical way of getting all points between p1 and p2. In the end, I just constructed two ranges. Full code here.
-
-🎄- 2022 Day 10 Solutions -🎄-
Full code on github.
-
-🎄- 2022 Day 9 Solutions -🎄-
The core of my solution below using numpy (because I'm learning it!). See github for full code.
-
-🎄- 2022 Day 8 Solutions -🎄-
Python 3 solution using numpy. I got held up because I assume (but know better) that numpy arrays are [x,y] instead of [row, col], which is [y,x].
-
-🎄- 2021 Day 14 Solutions -🎄-
Below is the new solution, which works for part 1 and 2. The full code is on GitHub.
-
-🎄- 2021 Day 11 Solutions -🎄-
These are the key functions. The whole code is on GitHub
-
-🎄- 2021 Day 9 Solutions -🎄-
Part 2 (extract shown below) was a matter of starting with the low points found in part 1 then recursively looking around for relevant points. Full code on GitHub
-
-🎄- 2021 Day 8 Solutions -🎄-
Code is on GitHub.
What are some alternatives?
aoc2022
advent-of-code
advent-of-code-2022-erlang - Advent of code 2022 - implemented in Erlang
AdventOfCode2021 - Solutions to all 25 AoC 2021 problems in Rust :crab: Less than 100 lines per day and under 1 second total execution time! :christmas_tree:
Advent-of-Code-2022 - My AoC 2022 Experience
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
day8
adventofcode - Solutions for problems from AdventOfCode.com
AdventOfCode-Day8-TreeHouse - C# console app that solves the AdventOfCode Day 8 puzzle - TreeHouse
toit - Program your microcontrollers in a fast and robust high-level language.
advent-of-code
adventofcode - Advent of Code Repo for Zach Attakk