Advent Of Code

Advent Of Code 2015, Day 13: Cutting Down On Permutations

Day 13 is very similar to day 9, just this time we are looking for the optimal seating arrangement around a Christmas table. Both puzzles are very similar but they have slightly different properties which means... we only need a subset of permutations to solve today's one. Getting the arrangements For day 9 we had… Continue reading Advent Of Code 2015, Day 13: Cutting Down On Permutations

Advent Of Code

Advent Of Code 2015, Day 11: Getting Valid Passwords

Even Santa must change his password from time to time. Unfortunately, this time he needs our help because his new Security-Elf imposed some additional password requirements. A new password should be generated using Santa's incremental method and then validated to ensure it is not breaking any safety rules. Generating Passwords The first step to get… Continue reading Advent Of Code 2015, Day 11: Getting Valid Passwords