Skip to content

Latest commit

 

History

History
36 lines (33 loc) · 2.35 KB

README.md

File metadata and controls

36 lines (33 loc) · 2.35 KB

Advent of Code 2020

Advent of Code is an Advent calendar of programming puzzles with an acompanying storyline that motivates the puzzles. I solved each day's puzzle in Python, since it is the language with which I am most familiar. I also solved each puzzle in either Ocaml, to satisfy my curiosity about this niche functional language, or Node.js, to improve my familiarity with it.

The Python scripts are largely unchanged from what popped into my mind to solve the puzzle as quickly as I could. For the OCaml scripts, I refactored the solutions in a functional style. For the Node.js scripts, the translation was more straight forward, but I did refactor some of the solutions.

Below is a table recording which puzzles I solved with each language. Every day is broken into two parts with a star rewarded for solving each part (as per the storyline).

Day Python OCaml Node.js
1 ⭐️⭐️ ⭐️⭐️ ⭐️⭐️
2 ⭐️⭐️ ⭐️⭐️ -
3 ⭐️⭐️ ⭐️⭐️ -
4 ⭐️⭐️ ⭐️⭐️ ⭐️⭐️
5 ⭐️⭐️ ⭐️⭐️ -
6 ⭐️⭐️ ⭐️⭐️ -
7 ⭐️⭐️ - ⭐️⭐️
8 ⭐️⭐️ ⭐️⭐️ -
9 ⭐️⭐️ ⭐️⭐️ -
10 ⭐️⭐️ ⭐️⭐️ -
11 ⭐️⭐️ - ⭐️⭐️
12 ⭐️⭐️ - ⭐️⭐️
13 ⭐️⭐️ ⭐️⭐️ -
14 ⭐️⭐️ - ⭐️⭐️
15 ⭐️⭐️ ⭐️⭐️ -
16 ⭐️⭐️ - ⭐️⭐️
17 ⭐️⭐️ - ⭐️⭐️
18 ⭐️⭐️ - ⭐️⭐️
19 ⭐️⭐️ ⭐️⭐️ -
20 ⭐️⭐️ - ⭐️⭐️
21 ⭐️⭐️ - ⭐️⭐️
22 ⭐️⭐️ ⭐️⭐️ -
23 ⭐️⭐️ - ⭐️⭐️
24 ⭐️⭐️ - ⭐️⭐️
25 ⭐️⭐️ ⭐️⭐️ ⭐️⭐️
Total 50⭐️ 28⭐️ 28⭐️