Explore tweets tagged as #AdventOfCode2021
Here is day 14 of #AdventOfCode2021 in functional #javascript. This one was fun!. Part one seemed simple but the growth of the data under iteration meant that part two was incalculable on modern computers. It required substantial re-thinking of the algorithm.
0
0
2
Todays #AdventOfCode2021 "Transparent Origami" featured a chance to use some neat numpy operations, and matplotlib to show the array as an img. And while np.flip would have been more readable, AOC is the one time where I get to write slightly less readable slicers. #AdventOfCode
0
0
7
#AdventOfCode day 20 "trench map" - was happy to see it seemed like a bit less labor, but it seemed almost a little bit too easy at first - until. :) luckily my opting to store the image in a defaultdict paid off but took a while to figure out the adjustments #adventofcode2021
0
0
7
Late start on day 15 - Chitons #adventofcode2021 because date night. Wanted to solve with a simple and cheeky #dynamicprogramming solution since the sample data paths just went east and south, but had to move to a slower djikstra for part 2 to allow all directions #AdventOfCode
0
3
12
Refaire un exercice n'est PAS une perte de temps. On trouve parfois des solutions bien plus élégantes et optimisées. Par exemple l'exercice 6 d'#AdventOfCode2021 peut être fait avec un simple tableau de taille 9 et un shift() ! Ultra rapide et peu gourmand en mémoire 🚀.
2
2
14
Had to relearn the A* search algorithm for #AdventOfCode for day 15. Wasted a lot of time floundering around 🤪. Thanks, @davekopec for Classic Computer Science Problems in. It saved my day! #AdventOfCode2021
1
0
4
#AdventOfCode #AdventOfCode2021 was an absolute blast. Learned a lot and oh it does look nice🥳.1
1
0
2
Todays #adventofcode felt pretty straight forward, but took quite a bit of debugging until I discovered the slight difference in the real and largest input vs. the small and mid ones #needtoassumeless #adventofcode2021
1
0
7