summaryrefslogtreecommitdiff
path: root/4.txt
diff options
context:
space:
mode:
authorAdam Spragg <adam@spra.gg>2022-12-14 09:47:05 +0000
committerAdam Spragg <adam@spra.gg>2022-12-14 09:47:05 +0000
commit76d15b25ae8177f3f215552c7be52f26dcec10da (patch)
treeb0e1beff5521a67bd14798973d0a62a625213649 /4.txt
parentf328e9a8fe0ab35252ff48a4238800f9f9f826b5 (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 '4.txt')
0 files changed, 0 insertions, 0 deletions