-
For the
_retry
version: after looking at a colleague's version (https://github.com/nicl/advent-of-code-2022/blob/main/day8/main.go) I started to realise that I should have just done the neighbours extraction logic for both parts and it makes the whole thing a lot simpler. So I refactored that out into a reusable function (as he did).
Please register or sign in to comment