Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Lezurex/advent-of-code24

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Advent of Code 2024 πŸŽ„

This repository contains my solutions for the Advent of Code 2024 challenges, written in Go. However, they may not be the most concise nor the most optimized.

Project Structure

advent-of-code/
β”‚
β”œβ”€β”€ go.mod
β”œβ”€β”€ go.sum
β”œβ”€β”€ main.go                # Entry point for running specific days
β”‚
β”œβ”€β”€ solutions/             # Daily solutions
β”‚   β”œβ”€β”€ day01.go           # Solution for Day 1
β”‚   β”œβ”€β”€ day02.go           # Solution for Day 2
β”‚   └── ...
β”‚
β”œβ”€β”€ inputs/                # Input files for each day
β”‚   β”œβ”€β”€ day01.txt          # Input for Day 1
β”‚   β”œβ”€β”€ day02.txt          # Input for Day 2
β”‚   └── ...
β”‚
└── utils/                 # Reusable utilities
    └── file.go            # Functions for reading input files

Getting Started

  1. Clone this repository:

    git clone https://github.com/Lezurex/advent-of-code24.git
    cd advent-of-code24
  2. Prepare your input files:

    • Place your inputs in the inputs/ directory.
    • Name them as dayXX.txt (e.g., day01.txt for Day 1).
  3. Run a solution:

    • Open main.go and set the day variable to the desired day.
    • Run the program:
      go run main.go

Happy coding! πŸŽ…

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages