advent-of-code/solutions/2
2020-12-02 13:21:31 +01:00
..
main.py bug 2020-12-02 13:14:40 +01:00
README.md some details 2020-12-02 13:21:31 +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.