Commit graph

8 commits

Author SHA1 Message Date
e859324030 Solve 2015:13 "Knights of the Dinner Table" 2023-11-20 20:54:43 +01:00
6a1b231552 Solve 2015:12 "JSAbacusFramework.io" 2023-11-20 20:54:43 +01:00
838d06100b Solve 2015:11 "Corporate Policy"
I brainfarted and had a hard time trying to
understand the instructions.

> Incrementing is just like counting with numbers: xx, xy, xz, ya, yb, and so on. Increase the rightmost letter one step; if it was z, it wraps around to a, and repeat with the next letter to the left until one doesn't wrap around.

I only managed to understand it by looking at solutions on the
subreddit, figuring out the correct behavior:

az -> ba, azzz -> baaa, azzzzz -> baaaaa etc.

I also sped up the test case containing `ghi` as initial password,
by looking for the leftmost invalid I, L or O and increase it,
replacing all following chars with `a`.

ghijklmn -> ghjaaaaa.
2023-11-20 20:54:43 +01:00
4742910afd Solve 2015:10 "Elves Look, Elves Say" 2023-11-20 20:54:43 +01:00
84d33a8b26 Remove not started 2015:6 2023-11-20 20:54:43 +01:00
8f5d73b4bf Solve 2015:9 "All in a Single Night" 2023-11-20 20:54:43 +01:00
5aba2fbed8 Solve 2015:8 "Machinesticks" 2023-11-20 20:54:43 +01:00
Anders Ytterström
5ed6e5e8ce Solve day 5-6 2015 2022-11-25 12:03:57 +01:00