Isn't your solution `O(n)` in the amount of locati...
# advent-of-code
k
Isn't your solution
O(n)
in the amount of locations visited, which makes it
O(sqrt(n))
in the input number?