From 0e60744957ce5e715a1e1e4783060cc25fb6ca13 Mon Sep 17 00:00:00 2001 From: Adam Millerchip Date: Thu, 10 Dec 2020 00:36:55 +0900 Subject: [PATCH] Clarify part 1 strategy --- day9/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day9/README b/day9/README index 19c9b4b..ed1d04d 100644 --- a/day9/README +++ b/day9/README @@ -19,7 +19,7 @@ Every time the window slides, I decided to sort it, which means I could take the * When selecting the first number in the pair, stop early if added to the first number in the preamble it's greater than the target, because we know the rest of the numbers are also too large. * Similarly can do the same when checking for the second number in the pair. -* Avoids comparing pairs we already compared. +* Avoids comparing pairs we already compared, by only searching from the location of the first value onwards. +--------+