Skip to content

Commit

Permalink
Day 8 solution of Part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
davidvidmar committed Dec 10, 2023
1 parent 3a97896 commit a8c5c41
Show file tree
Hide file tree
Showing 9 changed files with 1,151 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Day08/Day08/input-sample-2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
LLR

AAA = (BBB, BBB)
BBB = (AAA, ZZZ)
ZZZ = (ZZZ, ZZZ)

11 changes: 11 additions & 0 deletions Day08/Day08/input-sample-part2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
LR

11A = (11B, XXX)
11B = (XXX, 11Z)
11Z = (11B, XXX)
22A = (22B, XXX)
22B = (22C, 22C)
22C = (22Z, 22Z)
22Z = (22B, 22B)
XXX = (XXX, XXX)

9 changes: 9 additions & 0 deletions Day08/Day08/input-sample.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
RL

AAA = (BBB, CCC)
BBB = (DDD, EEE)
CCC = (ZZZ, GGG)
DDD = (DDD, DDD)
EEE = (EEE, EEE)
GGG = (GGG, GGG)
ZZZ = (ZZZ, ZZZ)
Loading

0 comments on commit a8c5c41

Please sign in to comment.