Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
encse committed Dec 22, 2024
1 parent 4b20c86 commit 93bd9d3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion 2024/Day22/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
## --- Day 22: Monkey Market ---
As you're all teleported deep into the jungle, a [monkey](/2022/day/11) steals The Historians' device! You'll need get it back while The Historians are looking for the Chief.
As you're all teleported deep into the jungle, a _monkey_ steals The Historians' device! You'll need get it back while The Historians are looking for the Chief.

The monkey that stole the device seems willing to trade it, but only in exchange for an absurd number of bananas. Your only option is to buy bananas on the Monkey Exchange Market.

_Visit the website for the full story and [full puzzle](https://adventofcode.com/2024/day/22) description._

A refreshing challenge after yesterday's hard one. I created a secret number generator function that returns the 2001 numbers for each seller (the initial one and the 2000 additional). This is enough for _Part 1_.

For _Part 2_ I maintain the dictionary of buying options for each potential sequence the monkey can recognize with the
combined amount of bananas this would generate from all sellers.

0 comments on commit 93bd9d3

Please sign in to comment.