advent-of-code/solutions/2
2020-12-02 13:24:17 +01:00
..
data.txt solutions 2020-12-02 13:07:57 +01:00
main.py bug 2020-12-02 13:14:40 +01:00
README.md Update README.md 2020-12-02 13:24:17 +01:00

2

For the first we can simply count the occurrences and see if they are between the accepted values. Just some simple parsing.

The second one is similar, but we can be more efficient if we XOR the first and second position.

2

For the first we can simply count the occurrences and see if they are between the accepted values. Just some simple parsing.

The second one is similar, but we can be more efficient if we XOR the first and second position.

Solutions
  1. 548
  2. 502