end of day 3

This commit is contained in:
2025-12-03 23:36:36 -05:00
parent b87fb99001
commit 1b2b0f4edd
5 changed files with 260 additions and 4 deletions

14
day03/notes.md Normal file
View File

@@ -0,0 +1,14 @@
## Day 3: Lobby
I had an idea for a solution to the first puzzle pretty quickly, and implemented it straightaway.
But it was also brute force - literally stepping through each possible combination until I knew which one was best. This worked fine when only finding for a match, but the twist of the second puzzle made it... _impractical_ (and don't think I didn't try).
ATM (11:30p Wed), I've got an algorithm that tries to create the highest value number by pulling out numbers in reverse numerical order, but it isn't _quite_ working. My current hope is to come at it fresh tomorrow when I also tackle puzzle 4.
### JS Solutions
```
cd js
node day03a.js
```