advent-of-code
AOC solutions 🎄🍵 (by masmeert)
AdventOfCode2021.jl
Advent of Code 2021 in Julia (by goggle)
advent-of-code | AdventOfCode2021.jl | |
---|---|---|
3 | 28 | |
2 | 17 | |
- | - | |
7.9 | 6.6 | |
5 months ago | 30 days ago | |
Python | Julia | |
- | - |
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
Posts with mentions or reviews of advent-of-code.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-03.
-
-🎄- 2021 Day 4 Solutions -🎄-
Pretty happy with this one ``` def solve() -> List[int]: seen = [] won = [] scores = [] for n in NUMS: seen.append(n) for board in BOARDS: transpose = list(zip(*board)) for i, line in enumerate(board): if (all(num in seen for num in line) or all(num in seen for num in transpose[i])) and board not in won: won.append(board) scores.append(sum(sum(num for num in line if num not in seen) for line in board) * seen[-1]) return scores
-
-🎄- 2021 Day 2 Solutions -🎄-
day02 of doing only one-liners and I already failed for the second part, it would have been a huge mess. The first part is pretty messy as well so if anyone can improve on it I would be very grateful ! https://github.com/masmeert/advent-of-code/blob/master/2021/day02/main.py
-
-🎄- 2021 Day 1 Solutions -🎄-
I actually did the same as you when I first solved it But I saw other people use the l[3] > l[n-3] trick, it didn't make much sense at first but now I get it and it's quite clever. Basically take [1 2 1 3], the windows would be w1=[1 2 1] and w2=[2 1 3], as 2 and 1 appear in both windows what really matters is w1[0] and w2[2] which are unique to each: 1+(2+1) < (2+1)+3 == 1 < 3.
AdventOfCode2021.jl
Posts with mentions or reviews of AdventOfCode2021.jl.
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 All days][Rust] Write-up and thoughts on the 7th edition of Advent of Code
I've also tried to write pretty efficient code for the 2021 Advent of Code challenge, but in Julia (https://github.com/goggle/AdventOfCode2021.jl). I would like to run your benchmarks on my local machine. Any chance you could help me (I'm a rust noob...)?
-
[2021, all days] [Julia] After having improved my solutions during the last days, I'm happy to share my repository with you! All days combined run in under 750 ms. Every solution is written in Julia.
Link to the repository: https://github.com/goggle/AdventOfCode2021.jl
- -🎄- 2021 Day 25 Solutions -🎄-
- -🎄- 2021 Day 24 Solutions -🎄-
- -🎄- 2021 Day 23 Solutions -🎄-
- -🎄- 2021 Day 22 Solutions -🎄-
- -🎄- 2021 Day 21 Solutions -🎄-
- -🎄- 2021 Day 20 Solutions -🎄-
- -🎄- 2021 Day 19 Solutions -🎄-
- -🎄- 2021 Day 18 Solutions -🎄-
What are some alternatives?
When comparing advent-of-code and AdventOfCode2021.jl you can also consider the following projects:
adventofcode - Advent of code solutions
adventofcode - Advent of Code challenge solutions
advent-of-code
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
aoc2021
advent-of-code - Advent of code solutions
adventofcode - Solutions for problems from AdventOfCode.com
aoc2021 - Advent of Code 2021 Solutions
aoc - Advent of Code solutions
aoc2021 - My solutions to Advent of Code 2021.
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
Advent-of-Code - Advent of Code
advent-of-code vs adventofcode
AdventOfCode2021.jl vs adventofcode
advent-of-code vs advent-of-code
AdventOfCode2021.jl vs adventofcode
advent-of-code vs aoc2021
AdventOfCode2021.jl vs advent-of-code
advent-of-code vs adventofcode
AdventOfCode2021.jl vs aoc2021
advent-of-code vs aoc
AdventOfCode2021.jl vs aoc2021
advent-of-code vs AdventOfCode
AdventOfCode2021.jl vs Advent-of-Code