Advent of Code is an Advent calendar of small programming puzzles for a variety of skill levels that can be solved in any programming language you like. People use them for interview prep, company training, university coursework, practice problems, a speed contest, or to challenge each other.
You don't need a computer science background to participate - just a little programming knowledge and some problem-solving skills will get you pretty far. Nor do you need a fancy computer; every problem has a solution that completes in at most 15 seconds on ten-year-old hardware.
@Eric Wastl
Note
To estimate performance I used hyperfine
(with 3 warm-ups and including file IO/parse), and for data, the input itself was used not an example
Day | Part #1 Performance | Part #2 Performance |
---|---|---|
#1 Historian Hysteria | 62.7 ms ± 9.8 ms | 79.3 ms ± 12.0 ms |
#2 Red-Nosed Reports | 69.7 ms ± 5.7 ms | 100.7 ms ± 32.7 ms |
#3 Mull It Over | 69.0 ms ± 7.3 ms | 69.4 ms ± 7.5 ms |
#4 Ceres Search | 87.8 ms ± 20.9 ms | 69.3 ms ± 8.0 ms |
#5 Print Queue | 185.7 ms ± 77.7 ms | 680.6 ms ± 46.8 ms |
#6 Guard Gallivant | 93.6 ms ± 61.3 ms | NA |
#7 Bridge Repair | 325.7 ms ± 63.8 ms | 10.259 s ± 0.430 s |
#8 Resonant Collinearity | 69.6 ms ± 16.7 ms | 68.1 ms ± 7.8 ms |
#9 Disk Fragmenter | 117 s ± 0.3 s | 117 s ± 0.431 s |
#10 Hoof It | 93.0 ms ± 2.8 ms | 93.7 ms ± 3.0 ms |
#11 Plutonian Pebbles | 69.2 ms ± 6.0 ms | 374.6 ms ± 93.0 ms |
#12 Garden Groups | 93.6 ms ± 3.7 ms | NA |
#13 Claw Contraption | 539.1 ms ± 19.2 ms | 89.6 ms ± 33.7 ms |
#14 Restroom Redoubt | 96.7 ms ± 30.0 ms | 6.258 s ± 0.555 s |
#15 Warehouse Woes | 761.0 ms ± 144.7 ms | NA |
#16 Reindeer Maze | 228.5 ms ± 76.9 ms | NA |
#17 Chronospatial Computer | 109.4 ms ± 47.2 ms | NA |
#18 RAM Run | 109.6 ms ± 32.7 ms | NA |
#19 Linen Layout | 702.0 ms ± 86.0 ms | 1.326 s ± 0.134 s |
#20 Race Condition | 156.2 ms ± 64.7 ms | 6.078 s ± 0.231 s |
#21 Keypad Conundrum | NA | NA |
#22 Monkey Market | 1.459 s ± 0.253 s | NA |
#23 LAN Party | 77.2 ms ± 21.9 ms | 93.1 ms ± 22.4 ms |
#24 Crossed Wires | 81.6 ms ± 20.5 ms | NA |
#25 Code Chronicle | 167.7 ms ± 41.4 ms | NA |