Welcome to my Advent of Code1 Kotlin project. Here are my solutions for this year's puzzles using Kotlin language.
| Day | Title | Part 1 | Part 2 |
|---|---|---|---|
| 01 | Calorie Counting | 🌟 | 🌟 |
| 02 | Rock Paper Scissors | 🌟 | 🌟 |
| 03 | Rucksack Reorganization | 🌟 | 🌟 |
| 04 | Camp Cleanup | 🌟 | 🌟 |
| 05 | Supply Stacks | 🌟 | 🌟 |
| 06 | Tuning Trouble | 🌟 | 🌟 |
| 07 | No Space Left On Device | 🌟 | 🌟 |
| 08 | Treetop Tree House | 🌟 | 🌟 |
| 09 | Rope Bridge | 🌟 | 🌟 |
| 10 | Cathode-Ray Tube | 🌟 | 🌟 |
| 11 | Monkey in the Middle | 🌟 | 🌟 |
| 12 | Hill Climbing Algorithm | 🌟 | 🌟 |
| 13 | Distress Signal | 🌟 | 🌟 |
| 14 | Regolith Reservoir | 🌟 | 🌟 |
| 15 | Beacon Exclusion Zone | 🌟 | 🌟 |
| 16 | Proboscidea Volcanium | 🌟 | 🌟 |
| 17 | Pyroclastic Flow | 🌟 | 🌟 |
| 18 | Boiling Boulders | 🌟 | 🌟 |
| 19 | Not Enough Minerals | 🌟 | 🌟 |
| 20 | Grove Positioning System | 🌟 | 🌟 |
| 21 | Monkey Math | 🌟 | 🌟 |
| 22 | Monkey Map | 🌟 | 🌟 |
| 23 | Unstable Diffusion | 🌟 | 🌟 |
| 24 | Blizzard Basin | 🌟 | 🌟 |
| 25 | Full of Hot Air | 🌟 | 🌟 |
const val SANTA =
_ _ __ ____ ____ _ _
|,\/,| |[_' |[_]) |[_]) \\//
||\/|| |[_, ||'\, ||'\, ||
___ __ __ ____ __ __ ____ _ _ __ __
// ' |[_]| |[_]) || ((_' '||' |,\/,| //\\ ((_'
\\_, |[']| ||'\, || ,_)) || ||\/|| //``\\ ,_))
,;7,
_ ||:|,
_,---,_ )\' '|
.'_.-.,_ '. ',') j
/,' ___} \ _/ /
., ,1 .'' =\ _.''. ,`';_ |
.' \ (.'T ~, (' ) ',.' / ';',
\ .\(\O/)_. \ ( _Z-'`>--, .'', ;
\ | I _|._>;--'`,-j-' ; ', .'
__\_| _.'.-7 ) `'-' " ( ;'
.'.'_.'|.' .' \ ',_ .'\ /
| | |.' / \ \ l \ /
| _.-' / '. ('._ _ ,.' \i
,--' ---' / k _.-,.-|__L, '-' ' () ;
'._ ( '; ( _-} |
/ ' \ ; ',.__; () /
/ | ; ; ___._._____.: :-j
| \,__',-' ____: :_____.: :-\
| F : . ' ' , L
', J | ; j |
\ | | L | J
; .-F | ; J L
\___,---' J'--: j,---,___ |_ |
| |'--' L '--| '-'|
'.,L |----.__ j.__.'
| '----' |, '-' }
j / ('-----';
{ "---'--;' } |
| | '.----,.'
',.__.__.' |=, _/
| / | '.
|'= -x L___ '--,
L __\ '-----'
'.____)Footnotes
-
Advent of Code – An annual event of Christmas-oriented programming challenges started December 2015. Every year since then, beginning on the first day of December, a programming puzzle is published every day for twenty-four days. You can solve the puzzle and provide an answer using the language of your choice. ↩