Skip to content

mathcelo/adventOfCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code Solutions

This repository contains my solutions to Advent of Code problems.

Structure

Each day's solution follows a consistent structure:

2025/
  XX/
    input.txt          # Main puzzle input
    test_input.txt     # Example/test input (optional)
    part1.py           # Solution for part 1
    part2.py           # Solution for part 2

Running Solutions

Using uv (recommended):

cd 2025/XX
uv run part1.py
uv run part2.py

Run with test input:

cd 2025/XX
uv run part1.py test
uv run part2.py test

Alternative: Using Python directly:

cd 2025/XX
python3 part1.py
python3 part2.py

Setup

Using uv (recommended):

uv sync

Alternative: Using pip:

pip install -e ".[dev]"

Testing

Run tests with pytest:

uv run pytest
# or
pytest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages