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?
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)
Jump in the discussion.
No email address required.
I did part two with
List<Stack<string>>
lmao can't post code but it took like 3 minutes to run
Jump in the discussion.
No email address required.
I'm surprised he didn't structure it so that you couldn't brute force it. Congrats
Jump in the discussion.
No email address required.
I thought I did something wrong because my debug messages showed the stack 368000 layers deep at card #37 but it went pretty quick after that
Jump in the discussion.
No email address required.
i tried doing a stack and popping cards off the bottom but it got to something like 770,000 cards long after a while and i gave up. i think it might have worked if i fricked off for a few hours but my answer was over 8,000,000 so i didnt bother sticking around to find out if it would or if i would have gotten an indexing error
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
More options
Context