diff options
author | Adam Spragg <adam@spra.gg> | 2022-12-14 09:47:05 +0000 |
---|---|---|
committer | Adam Spragg <adam@spra.gg> | 2022-12-14 09:47:05 +0000 |
commit | 76d15b25ae8177f3f215552c7be52f26dcec10da (patch) | |
tree | b0e1beff5521a67bd14798973d0a62a625213649 /1.txt | |
parent | f328e9a8fe0ab35252ff48a4238800f9f9f826b5 (diff) |
Compare the lists of each node, not each node.
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!
Diffstat (limited to '1.txt')
0 files changed, 0 insertions, 0 deletions