Day 5 of Advent of Code

Programming

Another couple days.

## Day 4 – Secure Container

Part 1 was straight forward coding but Part 2 was worded in a way that could be interpreted differently.
Here is what the challenge says “the two adjacent matching digits are not part of a larger group of matching digits.” What I think it should have had was “at least two adjacent matching digits are not part of a larger group of matching digits.” Because I thought any pair as long as it could be a pair without being a triplet or quintuplet, I was filtering out too many items. I then just had to make a minor change to key on at least one matching pair without being part of a larger group.

## Day 5 – Sunny with a Chance of Asteroids

This challenge involves fixing the air conditioning unit. It added additional instructions to the program created on day 2. Programming tip of the day, an integer 1 does not match a string “1”.