Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-14 | Compare the lists of each node, not each node. | Adam Spragg | |
Because we're storing the input lists *as a list*, when we compare successive pairs of lists, we can't compare the list nodes themselves. Instead, we compare the lists they point to. Unfortunately, this doesn't change the answer we get. It does improve runtime though! | |||
2022-12-13 | First attempt at puzzle 13 part 1 (buggy) | Adam Spragg | |
Gets correct answer for test input, but wrong answer (5711) for main input. The problem is, I don't know where it's going wrong, and the inputs are complicated, so tracking down the source of the problem is going to be a major pain. Wish I hadn't put this off for most of the day, and had more time to look at it now. |