AdventOfCode2022CSharp
adventofcode
AdventOfCode2022CSharp | adventofcode | |
---|---|---|
5 | 69 | |
0 | 14 | |
- | - | |
10.0 | 8.6 | |
over 1 year ago | 5 months ago | |
Jupyter Notebook | Python | |
- | - |
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.
AdventOfCode2022CSharp
-
-🎄- 2022 Day 14 Solutions -🎄-
C# solution using .NET Interactive and Jupyter Notebook. Used a recursive drop function to simulate a single grain of sand falling. Part 2 is not particularly efficient (~600ms). I went with a brute force approach solving it the same way as Part 1. But saw some clever "ray-casting" methods here in the comments!
-
-🎄- 2022 Day 13 Solutions -🎄-
C# solution using .NET Interactive and Jupyter Notebook. A bit of a tricky one today. Like many, used JSON parsing using the new System.Text.Json library. Then used a custom Comparer for the OrderBy LINQ method for Part 2.
-
-🎄- 2022 Day 11 Solutions -🎄-
C# solution using .NET Interactive and Jupyter Notebook. Part 1 was pretty straight forward by creating my own Monkey class. For Part 2, had to get some hints here on how to manage the very big numbers.
-
-🎄- 2022 Day 10 Solutions -🎄-
C# solution using .NET Interactive and Jupyter Notebook. Created an IEnumerable that yield returns the register value during the cycle (made the mistake of returning the value at the end of the cycle at first). Then used LINQ on the Enumerable to solve Part 1 and 2.
-
-🎄- 2022 Day 1 Solutions -🎄-
C# solution using .NET Interactive and Jupyter Notebook.
adventofcode
-
[2023 Day 04 (Part 2)][Python] Need help with recursion
I tried to model my code https://github.com/djotaku/adventofcode/blob/6c5d9c6e4f2dcbbbf7383b2923829c210faab028/2023/Day_04/Python/day_04.py (specifically lines 42-56) on my solution for Handy Haversacks in 2020 Day 7, but I'm ending up with an answer of 1 instead of 30. It seems like the problem is that my totals are not carrying up the stack, but I may have something else wrong.
- -🎄- 2022 Day 25 Solutions -🎄-
- -🎄- 2022 Day 20 Solutions -🎄-
- [2022 Day 18 (Part 1)][Python] What is wrong with my math?
- [2022 Day 15 (Part 1)] [Python] Need help with my algorithm
- -🎄- 2022 Day 14 Solutions -🎄-
-
-🎄- 2022 Day 13 Solutions -🎄-
My code is here https://github.com/djotaku/adventofcode/blob/66d74babd2ed37f56858096bc5598149448b6839/2022/Day_13/Python/solution.py
- [2016 Day 25 (Part 1)][Python] I keep getting 00000 or 111111
- -🎄- 2022 Day 12 Solutions -🎄-
- -🎄- 2022 Day 11 Solutions -🎄-
What are some alternatives?
advents-of-code - 🎄🎁 Solutions for the yearly advent of code challenges
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:
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
Advent-of-Code - My solutions or attempts at solutions to the Advent of Code event.
advent-of-code-cpp - C++ solutions for the Advent of Code programming puzzles - http://adventofcode.com/
toit - Program your microcontrollers in a fast and robust high-level language.
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#
scryer-prolog - A modern Prolog implementation written mostly in Rust.
AoC - my personal repo for the advent of code yearly challenge
swift-algorithms - Commonly used sequence and collection algorithms for Swift
Snap-in-Time - script for btrfs backups
aoc - Advent of Code