adventofcode
aoc2020
DISCONTINUED
Our great sponsors
adventofcode | aoc2020 | |
---|---|---|
44 | 13 | |
310 | 0 | |
- | - | |
9.5 | 0.0 | |
about 1 month ago | 6 months ago | |
C# | C | |
MIT License | MIT License |
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.
adventofcode
- -❄️- 2023 Day 11 Solutions -❄️-
-
-❄️- 2023 Day 9 Solutions -❄️-
https://github.com/encse/adventofcode/blob/master/2023/Day09/Solution.cs
- -❄️- 2023 Day 7 Solutions -❄️-
- -❄️- 2023 Day 6 Solutions -❄️-
- -❄️- 2023 Day 5 Solutions -❄️-
- -🎄- 2022 Day 25 Solutions -🎄-
- -🎄- 2022 Day 24 Solutions -🎄-
- -🎄- 2022 Day 23 Solutions -🎄-
- -🎄- 2022 Day 22 Solutions -🎄-
- -🎄- 2022 Day 21 Solutions -🎄-
aoc2020
-
Need help finding good python solutions
I got all but one star in 2020 when I did it in Python: https://github.com/ednl/aoc2020 but I'm afraid there may be some short variable names despite not doing it for speed.
-
2015-2022: What solution to a problem are you the most proud of
I liked my solution for https://adventofcode.com/2020/day/17 Game of Life in 3D and 4D: https://github.com/ednl/aoc2020/blob/main/day17.py
-
2020 Day 8.2 in Python - trying to figure out how to do this efficiently?
Day 8 runs in 0.02 s using python 3.9 on my M1 Mac Mini. Just flipping in part 2, no special optimisation. My code: https://github.com/ednl/aoc2020/blob/main/day08.py
-
[2020] [Rust] Solving Advent of Code 2020 in under a second
For instance, I wrote this in C for day 15 https://github.com/ednl/aoc2020/blob/main/day15.c which runs in 1.635 s on a Raspberry Pi 4 (4 GB, RPiOS 32-bit on SSD, overclocked to 1.8 GHz) when timing on the command line with "time", taking the lowest "user" value of about 10 manual runs. Compiled with gcc -Ofast (version 8.3.0).
Yep, linked above, or: https://github.com/ednl/aoc2020/blob/main/day15.c
-
[2020] Optimized solutions in C++ (291 ms total)
Day 23 part 2 in 0.06 s on a dual core 1.3 GHz i5 Haswell (2013 MB Air) https://github.com/ednl/aoc2020/blob/main/day23.c because of a simple array as a linked list.
-
[2020 Day *][C99] Computers are fast: AoC 2020 in < 2s, including compile time
Day 23 part 2 (1 million cups, 10 million moves) runs in 0.06 s on my 2013 dual core Haswell i5 1.3 GHz. Main reason is a super fast simulated linked list via a pre-allocated array of integers. Source https://github.com/ednl/aoc2020/blob/main/day23.c
-
-🎄- 2020 Day 24 Solutions -🎄-
Python, Numpy, SciPy Took me a while to figure out how to calculate the new state with different kernels for odd and even rows. In the end, it means doing almost twice the work. Still about 9x faster than the native Python version I did first. Part 2 below, full code at https://github.com/ednl/aoc2020/blob/main/day24alt.py
Thanks to /u/thomasahle for encouraging me to implement axial coordinates, which made it a lot easier. Also thought of a better way to parse the input in one go. And this allowed me to tighten up the grid dimensions. Runs in under a second on a very old laptop, half of which is because of the scipy import ... https://github.com/ednl/aoc2020/blob/main/day24alt2.py
-
-🎄- 2020 Day 23 Solutions -🎄-
Yes, definitely don't create a list for every pick up. No need to insert and delete if you use an array as a linked list. My code: https://github.com/ednl/aoc2020/blob/main/day23.py
What are some alternatives?
codewars.com - Issue tracker for Codewars
projecteuler - Project Euler problems in Awk.
data-engineer-roadmap - Roadmap to becoming a data engineer in 2021
mal - mal - Make a Lisp
advent-of-code-2020 - Solutions for AdventOfCode 2020
libcurl - A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features
Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
build-your-own-x - Master programming by recreating your favorite technologies from scratch.
vulkano - Safe and rich Rust wrapper around the Vulkan API
build-your-own-x - 🤓 Build your own (insert technology here) [Moved to: https://github.com/codecrafters-io/build-your-own-x]
advent-of-code-2019 - Advent of Code 2019 Solutions (Spoilers!)
tlaplus - TLC is a model checker for specifications written in TLA+. The TLA+Toolbox is an IDE for TLA+.