Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.86 KB

File metadata and controls

40 lines (30 loc) · 1.86 KB

Advent of Code Solutions By Brian

This repository contains personal solutions to various "Advent of Code" challenges. The Advent of Code is an annual event featuring a series of programming puzzles that get progressively more challenging. The aim is to provide an opportunity to practice coding skills in a fun and festive manner.

Contents

  • _2015: Solutions for Challenges for the Year 2015
  • _2016: Solutions for Challenges for the Year 2016
  • _2017: Solutions for Challenges for the Year 2017
  • _2018: Solutions for Challenges for the Year 2018
  • _2019: Solutions for Challenges for the Year 2019
  • _2020: Solutions for Challenges for the Year 2020
  • _2021: Solutions for Challenges for the Year 2021
  • _2022: Solutions for Challenges for the Year 2022
  • _2023: Solutions for Challenges for the Year 2023
  • _2024: Solutions for Challenges for the Year 2024
  • _2025: Solutions for Challenges for the Year 2025
  • _2026: Solutions for Challenges for the Year 2026

How to Use

Each solution reads input from a corresponding file located in the <year>/data/ directory, such as day_1_input.txt or day_2_input.txt. Ensure that these input files are correctly placed before running the programs.

Running the Solutions

  • Python: Ensure Python is installed on your system. Run the solutions using:

    python _2025/day_1.py
    python _2025/day_2.py
  • Rust: Have Rust installed and use:

    cargo run --bin day_1
    cargo run --bin day_2

Note

This repository acts as a personal log of solutions and may contain custom logic suited to the input format I anticipated for these challenges. Adjustments might be necessary to adapt to different or official input formats as distributed in the event.