AdventOfCode2020

Solutions to all 25 AoC 2020 problems in Rust :christmas_tree: With relatively high global leaderboard placements! (by AxlLind)

AdventOfCode2020 Alternatives

Similar projects and alternatives to AdventOfCode2020

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better AdventOfCode2020 alternative or higher similarity.

Suggest an alternative to AdventOfCode2020

Reviews and mentions

Posts with mentions or reviews of AdventOfCode2020. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-04.
  • It's been 20 days since I started learning rust as my first language. Terrible experience. Should I move forward?
    reddit.com/r/rust | 2021-10-04
    I find that the "advent of code" project always has some nice challenges and you can access the previous years like https://adventofcode.com/2020. They tend to get complex and/or complicated quickly, but usually the first few are easy enogh, while sill giving you a challenge to learn something new.
  • LIVE Topic Requests
    reddit.com/r/mrrip | 2021-08-07
  • [Slightly Off-Topic] Asking for Advice on (Rust) Entry-Level Jobs
    reddit.com/r/rust | 2021-07-10
    Hello, everyone! I started learning Rust and Haskell earlier this year; I'm still a beginner, but I'm comfortable with the basics of both languages, at this point. Although I don't have experience with many languages, I can confidently say that I enjoy Rust and Haskell far more than any other language I've tried. Being fairly new to software development, I don't have much to show for my current skill level, but I'll try to give some context. On my GitHub profile, mohamed-abdelnour, I have a small handful of PRs along with my solutions to AoC 2020. Ironically, solving AoC 2020 is how I started leaning both Rust and Haskell (and most of what I know about programming, if I'm honest), so the code I'm sharing now is (hopefully) some of the worst I'll ever write! Other than that, I'm slowly going through Project Euler problems, and I'm almost done with a certain company's secret "programming" challenge (if you know, you know). I don't have any previous work experience in software development nor have I worked on any "real projects" before.
  • What do you think is the best way to learn Rust?
    reddit.com/r/rust | 2021-05-19
    https://adventofcode.com/2020 gives you well defined, deterministic problems that can be solved in a variety of ways. I'm loving it.
  • Discussion Thread
    Functional programming: The best way to really learn functional programming is to learn Haskell and then use it to write a bunch of programs. I recommend https://adventofcode.com as a way to give you a list of challenges to solve with Haskell. Haskell really forces a functional programming mindset so using it gives you a much better understanding of functional programming.
  • [2020 Day 9] Part 2 - What is the most efficient algorithm?
    One important thing to note is that all numbers in the input are positive. Since they are all positive it can be solved quite easily in linear time, O(n), and O(1) memory complexity. See algorithm here. I used this algorithm in my Rust solution.
  • 2020 Day 20 Solutions
    Link to solution (359/116)
  • [2020, Day 22, Part 2] Is there a way to speed up the state checking?
    A solution that will work with very high probability (which I used here) is to store a hashset of hashes, HashSet. E.g you compute a hash for the two queues and see if that hash has already been seen. There is a very, very, small probability of a hash collision, but in practice this works.
  • 2020 Day 21 Solutions
    For part one, I compute the intersection of ingredients between all lists containing a certain allergen. Then it was the same process as day 16, whereby you eliminate possibilities by iteratively looking at what allergen only has one possible ingredient it can be. Once again, this leads to a unique solution in our input.
    Link to solution (1323/898)
  • Advent of Code 2020 - Day 21
    reddit.com/r/rust | 2020-12-20
    For part one, I compute the intersection of ingredients between all lists containing a certain allergen. Then it was the same process as day 16, whereby you eliminate possibilities by iteratively looking at what allergen only has one possible ingredient it can be. Once again, this leads to a unique solution in our input.
    reddit.com/r/rust | 2020-12-20
    Link to solution (1323/898)

Stats

Basic AdventOfCode2020 repo stats
12
22
7.5
3 months ago

AxlLind/AdventOfCode2020 is an open source project licensed under MIT License which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
Find remote jobs at our new job board 99remotejobs.com. There are 38 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.