Files
aoc-2025/day02/notes.md
2025-12-03 23:36:36 -05:00

14 lines
488 B
Markdown

## Day 2: Gift Shop
This got a bit frustrating with the regex in the second part.
It only took about 30 minutes to solve first part, but my answer involved literally splitting strings, so it didn't work for arbitrary matches and had to be replaced by a regex solution. After struggling with the regex for another 30 minutes, I put it away until the next day, when a 5-minute web search lead me to the fix for my bad regex.
### JS Solutions
```
cd js
node day02a.js
node day02b.js
```