This is the home for my solutions for Advent of Code challenge using Scala
I'm using a functional approach for each solution. Which means:
- avoiding
null
- pure functions
- immutable values
- recursion\tail-recursion
- functional data structures
- functional control flow (no for-loops, no while-loops)
- whenever I use
if
there is alwayselse
I'm using IntelliJ IDEA running scala worksheets
** Note: in order for a worksheet to execute, you need to enable build before run
scala/
+--build.sbt The main sbt build definition
+--project/ The rest of the sbt build
+--src/main/
+---/resources
+---advent2015 Input files for 2015 challenge
+---advent2020 Input files for 2020 challenge
+---advent2021 Input files for 2021 challenge
+---advent2022 Input files for 2022 challenge
+---advent2023 Input files for 2023 challenge
+---/advent2015 Source code for 2015 challenge
+---/advent2020 Source code for 2020 challenge
+---/advent2021 Source code for 2021 challenge
+---/advent2022 Source code for 2022 challenge
+---/advent2023 Source code for 2023 challenge