From 167b259c9f41c715482deca9aed72368e7aa4c86 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Fri, 8 Dec 2023 20:34:34 +0100 Subject: [PATCH] d7p1 pattern lookup --- Day7/Part1.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Day7/Part1.js b/Day7/Part1.js index 3a620a8..6faa1be 100644 --- a/Day7/Part1.js +++ b/Day7/Part1.js @@ -1,6 +1,15 @@ import { readFileSync } from "fs"; const t0 = performance.now(); +const patterns = [ + "abcde", + "aabcd", + "aabbc", + "aaabc", + "aaabb", + "aaaab", + "aaaaa", +]; const input = readFileSync("input.txt").toString(); console.log(input);