Here is my take on the daily puzzles of the Advent of Code 2024.
This year I'm solving the puzzled in Lua.
My solutions can be run in a terminal.
With Lua installed on your machine, just run the following in your terminal:
# Run with the test input values
lua day-01/part-1.lua test
lua day-01/part-2.lua test
lua day-02/part-1.lua test
lua day-02/part-2.lua test
...
# Run with the real input values
lua day-01/part-1.lua
lua day-01/part-2.lua
lua day-02/part-1.lua
lua day-02/part-2.lua
...
Day | Part 1 | Part 2 | Day | Part 1 | Part 2 | Day | Part 1 | Part 2 | ||
---|---|---|---|---|---|---|---|---|---|---|
01 | ✅ | ✅ | 11 | ✅ | ✅ | 21 | ||||
02 | ✅ | ✅ | 12 | ✅ | ✅ | 22 | ||||
03 | ✅ | ✅ | 13 | ✅ | ✅ | 23 | ||||
04 | ✅ | ✅ | 14 | ✅ | 🎄 | 24 | ||||
05 | ✅ | ✅ | 15 | ✅ | ✅ | 25 | ||||
06 | ✅ | ✅ | 16 | ✅ | ||||||
07 | ✅ | ✅ | 17 | ✅ | ||||||
08 | ✅ | ✅ | 18 | ✅ | ✅ | |||||
09 | ✅ | ✅ | 19 | ✅ | ✅ | |||||
10 | ✅ | ✅ | 20 |