mirror of
https://github.com/cupcakearmy/advent-of-code.git
synced 2024-12-21 23:56:30 +00:00
some details
This commit is contained in:
parent
810401815a
commit
3cdc3b3947
6
solutions/2/README.md
Normal file
6
solutions/2/README.md
Normal file
@ -0,0 +1,6 @@
|
||||
# 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.
|
Loading…
Reference in New Issue
Block a user