Skip to content

gkpotter/Advent-of-Code-2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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⭐️

About

Solutions to Advent of Code 2020 in Python, OCaml and Node.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published