Skip to content

Yuliashaaa/aoc_2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎄 Advent of Code 2024 Solutions

Welcome to my Advent of Code 2024 solutions repository! 🎅✨ Advent of Code is an annual coding challenge during December that brings together developers from all over the world. Each day, a new problem is unlocked, with fun stories and tricky puzzles to solve!


📂 Repository Structure

The solutions are organized by day, with each day having its own folder:

src/
├── day_01/
│   ├── input.txt       # Input data for the puzzle
│   ├── part_1.py       # Solution for Part 1
│   ├── part_1.md       # Task for Part 1
│   ├── part_2.py       # Solution for Part 2
│   └── part_2.md       # Task for Part 2
├── day_02/
│   └── ...             # Same structure for other days
...

🧩 Links to Puzzles

Each puzzle is linked for convenience:

Day Title Part 1 Solution Part 2 Solution
1 Historian Hysteria Code Code
2 Red-Nosed Reports Code Code
3 Mull It Over Code Code
4 Ceres Search Code Code
5 Print Queue Code Code
6 Guard Gallivant Code Code
7 Bridge Repair Code Code
8 Resonant Collinearity Code Code
9 Disk Fragmenter Code Code
10 Hoof It Code Code
11 Plutonian Pebbles Code Code
12 Garden Groups Code Code
13 Claw Contraption Code Code
14 Restroom Redoubt Code Code
15 Warehouse Woes Code Code
18 RAM Run Code Code
19 Linen Layout Code Code
20 Race Condition Code Code
21 Keypad Conundrum Code Code
22 Monkey Market Code Code
... ... ... ...

📜 How to Run Solutions

To run a solution for a specific day:

  1. Clone the repository:

    git clone https://github.com/Yuliashaaa/aoc_2024.git
    cd aoc-2024
  2. Make sure you have Python 3.13 installed

  3. Navigate to the day's folder:

    cd src/day_01
  4. Run the solution script:

    python part_1.py

🔧 Tools and Libraries

This repository uses the following tools to keep code clean and efficient:

  • Black – Code formatter
  • Ruff – Linter for Python
  • Pre-commit – Enforces consistent code style
  • PDM – For dependency management

🎯 Why Participate?

  • Sharpen your coding skills
  • Learn new algorithms and data structures
  • Have fun solving puzzles while competing with a global community of developers

🚀 Contribute

If you’d like to suggest improvements or find any bugs in the solutions, feel free to:

  1. Fork this repository
  2. Create a branch with your changes
  3. Open a pull request

🎅 About the Advent of Code

Advent of Code is created by Eric Wastl. Check out the official website at adventofcode.com

Enjoy the puzzles and happy coding! 🎄✨