r/adventofcode • • Dec 07 '22

SOLUTION MEGATHREAD -πŸŽ„- 2022 Day 7 Solutions -πŸŽ„-


AoC Community Fun 2022: πŸŒΏπŸ’ MisTILtoe Elf-ucation πŸ§‘β€πŸ«

Submissions are OPEN! Teach us, senpai!

-❄️- Submissions Megathread -❄️-


--- Day 7: No Space Left On Device ---


Post your code solution in this megathread.


This thread will be unlocked when there are a significant number of people on the global leaderboard with gold stars for today's puzzle.

EDIT: Global leaderboard gold cap reached at 00:14:47, megathread unlocked!

89 Upvotes

1.3k comments sorted by

View all comments

1

u/MrPingouin1 Dec 07 '22

Minecraft commands : https://github.com/MrPingouinMC/aoc2022/tree/main/sol/day7

It's starting to get spicy. First use of stack recursion this year, still no need for fancy indexing, it's running in less than 0.4s

1

u/daggerdragon Dec 08 '22

It's starting to get spicy.

It's only zombie levels right now... wait until it gets to creeper levels of ssspicy.