Unable to load image

rDrama Advent of Code Day 12: Hooke Edition

Summary for those just joining us:

Advent of Code is an annual Christmas themed coding challenge that runs from December 1st until christmas. Each day the coding problems get progressively harder. We have a leaderboard and pretty good turnout, so feel free to hop in at any time and show your stuff!

Whether you have a single line monstrosity or a beautiful phone book sized stack of OOP code, you can export it in a nice little image for sharing at https://carbon.vercel.app

What did you think about today's problem?

https://adventofcode.com/2023

Our Code is 2416137-393b284c (No need to share your profile, you have the option to join anonymously if you don't want us to see your github)

15
Jump in the discussion.

No email address required.

My favorite days are when the thread goes up and nobody comments for like 2-3 hours that's when you know it's fun

Edit: I had a nice recursive solution that worked by shifting each group one slot at a time and completed the example basically instantly but it's still running as slow as brute force I'm going to kms :marseyc#rygenocide:

Jump in the discussion.

No email address required.

>I had a nice recursive solution

Cache it and you're done

Jump in the discussion.

No email address required.

found the incel

Jump in the discussion.

No email address required.

Yeah, saw everyone mentioning it but my code is on my work pc so I have to wait until I get into the office

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.