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 | Sonar Sweep | ๐ | ๐ |
02 | Dive! | ๐ | ๐ |
03 | Binary Diagnostic | ๐ | ๐ |
04 | Giant Squid | ๐ | ๐ |
05 | Hydrothermal Venture | ๐ | ๐ |
06 | Lanternfish | ๐ | ๐ |
07 | The Treachery of Whales | ๐ | ๐ |
08 | Seven Segment Search | ๐ | ๐ |
09 | Smoke Basin | ๐ | ๐ |
10 | Syntax Scoring | ๐ | ๐ |
11 | Dumbo Octopus | ๐ | ๐ |
12 | Passage Pathing | ๐ | ๐ |
13 | Transparent Origami | ๐ | ๐ |
14 | Extended Polymerization | ๐ | ๐ |
15 | Chiton | ๐ | ๐ |
16 | Packet Decoder | ๐ | ๐ |
17 | Trick Shot | ๐ | ๐ |
18 | Snailfish | ๐ | ๐ |
19 | Beacon Scanner | ๐ | ๐ |
20 | Trench Map | ๐ | ๐ |
21 | Dirac Dice | ๐ | ๐ |
22 | Reactor Reboot | ๐ | ๐ |
23 | Amphipod | ๐ | ๐ |
24 | Arithmetic Logic Unit | ๐ | ๐ |
25 | Sea Cucumber | ๐ | ๐ |
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. โฉ