Advent of Code 2025 Day 5
Advent of Code 2025 Day 5mcclintock44133

Advent of Code 2025 Day 5

Last Updated 24 days ago

About

🎄 Advent of Code 2025 - Day 5: Fresh Ingredient Checker 🍪
Solve the North Pole's ingredient inventory crisis! This canvas features a complete solution to Advent of Code Day 5, where Santa's elves need help determining which ingredients are fresh for Christmas cookie baking.

What's Included:


Part 1: Check which available ingredient IDs fall within fresh ID ranges → 170 fresh ingredients

Part 2: Count all unique ingredient IDs considered fresh across overlapping ranges → 20,997,960 fresh IDs


Key Features:

✨ Reusable functions for both parts with clean, efficient logic

✨ Test-driven validation blocks confirming correctness before processing real input

✨ Handles overlapping ranges seamlessly

✨ Well-documented workflow with festive Christmas theme

Perfect for learning about range processing, data validation patterns, and building modular solutions in Zerve. Great example of solving Advent of Code challenges with organized, test-validated code!

Share:
X

Build something you can ship

Explore, analyze and deploy your first project in minutes