advent-of-code-2021
By azihassan
advent-of-code-2021
Advent of Code 2021 Java 17 (by zebalu)
advent-of-code-2021 | advent-of-code-2021 | |
---|---|---|
4 | 12 | |
0 | 0 | |
- | - | |
1.8 | 0.0 | |
over 2 years ago | about 2 years ago | |
PHP | Java | |
- | Apache License 2.0 |
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.
advent-of-code-2021
Posts with mentions or reviews of advent-of-code-2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-12.
-
-🎄- 2021 Day 13 Solutions -🎄-
Boring PHP solution, part 2 :
-
-🎄- 2021 Day 9 Solutions -🎄-
PHP solution, simple DFS for part 2 :
-
-🎄- 2021 Day 7 Solutions -🎄-
PHP, bruteforce. Part 2 below, it uses a formula to calculate the sum of a range. I'll now go check the optimal solutions.
-
-🎄- 2021 Day 5 Solutions -🎄-
PHP solution, also available on Github. It's not very optimal as far as memory consumption is concerned. The reason is that for a range of, for example, 1,1 => 4,4, it will allocate memory for four pairs. These might then get incremented if another line crosses either of the coordinates.
advent-of-code-2021
Posts with mentions or reviews of advent-of-code-2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-24.
-
-🎄- 2021 Day 25 Solutions -🎄-
Java (nothing special, simple implementation of the rules, I have only posted to fit for the rules here)
-
-🎄- 2021 Day 16 Solutions -🎄-
Java, the code is still a mess, but if you need some tips, it might help.
-
-🎄- 2021 Day 15 Solutions -🎄-
Java Using Dijsktra's alogorithm to find the cheapest path.
-
-🎄- 2021 Day 11 Solutions -🎄-
Java
-
-🎄- 2021 Day 10 Solutions -🎄-
Java if you are interested.
-
-🎄- 2021 Day 9 Solutions -🎄-
If you are using custom Coord objects, you could consider going in and making a map of coord to value. Saves a bunch of boundaries checks, as you can see in zebalu's solution (another comment in thread) https://github.com/zebalu/advent-of-code-2021/blob/master/src/main/java/io/github/zebalu/aoc2021/Day09.java
-
-🎄- 2021 Day 7 Solutions -🎄-
Java 17, could be shorter, but I find this more readable (Gauss has helped a lot.)
-
-🎄- 2021 Day 6 Solutions -🎄-
Java nothing special:
-
-🎄- 2021 Day 5 Solutions -🎄-
Java 17, if you are looking for one. (However, it is not really a Java community...) I was really lost in diagonals, and it is not an "elegant" or less then 100 bytes of code solution, but I hope it is readable, if you are lost...
-
-🎄- 2021 Day 3 Solutions -🎄-
Hi! Nothing special, I might refactor later (since it is very rushed together), but Java 17, if you are interested.
What are some alternatives?
When comparing advent-of-code-2021 and advent-of-code-2021 you can also consider the following projects:
advent-of-code
AlgorithmProblems - Solutions to Algorithm Problems :chart_with_upwards_trend: :neckbeard:
aoc2021 - Advent of Code 2021 on my homemade 16-bit CPU SCAMP
aoc - advent of code (js / deno ts )
advent-of-code-2021 - My solutions to advent of code 2021 in deno/TS
AdventOfCodeRust2021 - Code related to Advent of Code 2021 using Rust
advent-of-code-2021
advent_of_code - My solutions to advent of code puzzles
Advent-Of-Code
advent-of-code-2021 - Advent of Code 2021 code challenge solutions. Kotlin this year!
advent-of-code-2021-rs
advent-of-code-2021 vs advent-of-code
advent-of-code-2021 vs AlgorithmProblems
advent-of-code-2021 vs aoc2021
advent-of-code-2021 vs aoc
advent-of-code-2021 vs advent-of-code-2021
advent-of-code-2021 vs AdventOfCodeRust2021
advent-of-code-2021 vs advent-of-code-2021
advent-of-code-2021 vs advent_of_code
advent-of-code-2021 vs Advent-Of-Code
advent-of-code-2021 vs advent-of-code-2021
advent-of-code-2021 vs advent-of-code-2021
advent-of-code-2021 vs advent-of-code-2021-rs