Our great sponsors
Code related to Advent of Code 2021 using Rust
Here is the link: https://github.com/JCardoen/AdventOfCodeRust2021/blob/master/src/day_four/four.rs
Advent of Code! https://adventofcode.com/ (by dfontana)
I modeled my board & marked numbers independently; the former as a hashmap and the latter as a bit-vector. That simplified my equivalent of is_winner and flag_number: https://github.com/dfontana/adventofcode/blob/master/y2021/src/solutions/day4.rs
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Advent of Code 2021 (by MichaelCG8)
Also, instead of summing the remaining values at the end I summed them all at the start then subtracted them as they were checked off, meaning that i didn't need to store a Boolean for each entry recording whether it remained. https://github.com/MichaelCG8/aoc2021/blob/main/src/bin/04.rs
Advent of Code 2021 in Rust (by jeremylt)
Solutions for Advent of Code 2021 (by agubelu)
Advent of Code 2021 (by zookini)
Here's an iterator based solution https://github.com/zookini/aoc-2021/blob/master/src/bin/04.rs
Advent of Code 2021, in Rust (by Killavus)
If you're interested comparing solutions, you may check my code here: https://github.com/Killavus/aoc2021/tree/master/day4. It is not optimised for performance though and I propably should've used FromIterator instead of TryFrom from mutable Lines iterator to BingoBoard, but maybe you can take something out of it. Good luck with further AoC challenges!
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-🎄- 2021 Day 8 Solutions -🎄-
224 projects | /r/adventofcode | 7 Dec 2021
-🎄- 2021 Day 1 Solutions -🎄-
252 projects | /r/adventofcode | 30 Nov 2021
-🎄- 2020 Day 25 Solutions -🎄-
36 projects | /r/adventofcode | 24 Dec 2020
What are some of projects to start with for a beginner in rust but experienced in programming (ex: C++, Go, python) ?
3 projects | /r/rust | 31 May 2023
Looking for Rust tutoring (Kernel Development, Software Development, Etc)
2 projects | /r/learnrust | 16 May 2023