advent-of-code
AOC solutions 🎄🍵 (by masmeert)
advent-of-code
Advent Of Code Solutions (by sreedevk)
advent-of-code | advent-of-code | |
---|---|---|
3 | 11 | |
2 | 1 | |
- | - | |
7.9 | 6.9 | |
5 months ago | 5 months ago | |
Python | Rust | |
- | - |
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.
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 2022-12-05.
-
-🎄- 2022 Day 6 Solutions -🎄-
Part 1
-
-🎄- 2022 Day 5 Solutions -🎄-
Ruby
-
-🎄- 2022 Day 3 Solutions -🎄-
Rust: PART 1 PART 2
- -🎄- 2021 Day 14 Solutions -🎄-
- -🎄- 2021 Day 9 Solutions -🎄-
-
-🎄- 2021 Day 7 Solutions -🎄-
Ruby: https://github.com/sreedevk/advent-of-code/blob/main/ruby/2021/day7/main.rb
- -🎄- 2021 Day 5 Solutions -🎄-
- -🎄- 2021 Day 4 Solutions -🎄-
- -🎄- 2021 Day 2 Solutions -🎄-
- -🎄- 2021 Day 1 Solutions -🎄-
What are some alternatives?
When comparing advent-of-code and advent-of-code you can also consider the following projects:
adventofcode - Advent of code solutions
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
advent-of-code-2021 - My solutions to advent of code 2021 in deno/TS
aoc2021
aoc-2021-in-kotlin
adventofcode - Solutions for problems from AdventOfCode.com
advent_of_code - Solutions to programming puzzles on Advent of Code
aoc - Advent of Code solutions
adventlang - 🎅 A programming language (+ code playground) for Advent of Code.
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 vs adventofcode
advent-of-code vs AdventOfCode2021
advent-of-code vs advent-of-code
advent-of-code vs advent-of-code-2021
advent-of-code vs aoc2021
advent-of-code vs aoc-2021-in-kotlin
advent-of-code vs adventofcode
advent-of-code vs advent_of_code
advent-of-code vs aoc
advent-of-code vs adventlang
advent-of-code vs AdventOfCode
advent-of-code vs adventofcode