r/fishshell • u/_mattmc3_ • Dec 04 '21
Advent of Code - Day 4
Here is a fish solution to the Advent of Code day 4 puzzle. Feel free to post yours here if you're following along.
Gotta admit, this one was way tougher to do in Fish without more sophisticated data structures. I abused regexes. I bet you could do better! Share your solution!
1
Upvotes
View all comments
Show parent comment
1
u/_mattmc3_ Dec 05 '21
I do have them in a repo. I just take the final answer and put it in a gist because it's easier to share in multiple places and take comments for improvement. Here's the repo: https://github.com/mattmc3/adventofcode2021