This repository contains my solutions to Advent of Code problems, implemented in the Zig programming language.
- Zig: Version 0.14.0 or later
- Download from ziglang.org/download
- Verify installation:
zig version
Each day is a standalone program. To build and run a specific day:
# Build and run day 1
zig run src/day1.zig
# Build and run day 2
zig run src/day2.zig
# Build and run any day (replace N with the day number)
zig run src/dayN.zig