/advent-of-code

Advent of code coding challenge solutions

Primary LanguageOpenSCAD

ADVENT OF CODE SOLUTIONS

Tanks to Advent of Code

JS solutions

Developed with the Node runtime . Tested with Node version v14.15.1

//inside the solution folder
node index.js
//from the root
node 2015/01-js/index.js

Python solutions

Tested with Python version 3.8.3

//inside the solution folder
python puzzle.py
//from the root
python 2015/03-py/puzzle.py

Kotlin solutions

Tested with Kotlin version 1.7.21 and Java openjdk 17.0.3 2022-04-19

./gradlew run --args 2022/14

To be optimized

  • 2020.15.2

Notes

2020.13.2

Euclidean algorithm

Cryptography Euclidean algorithm

Chinese remainder theorem

Congruence

2022.11.2

Chinese remainder theorem

(a % kn) % n = a % n

Solved with a help

My status

2015 Calendar

2016 Calendar

2017 Calendar

2018 Calendar

2019 Calendar

2020 Calendar

2021 Calendar

2022 Calendar