Add solutions to day 21.

This commit is contained in:
Bert Peters
2016-12-29 15:59:30 +01:00
parent bdc54d38c5
commit 10eaf692d9
4 changed files with 280 additions and 0 deletions

8
2016/day-21/sample.txt Normal file
View File

@@ -0,0 +1,8 @@
swap position 4 with position 0
swap letter d with letter b
reverse positions 0 through 4
rotate left 1 step
move position 1 to position 4
move position 3 to position 0
rotate based on position of letter b
rotate based on position of letter d