Skip to content

MichaelCTH/AdventOfCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Advent of Code Solutions

Welcome to my Advent of Code solutions! ๐ŸŽ„

This repository contains my solutions to the Advent of Code puzzles, written in Go (Golang). Every day, a new challenge is released, and I try to solve it using clean, efficient code while learning new things along the way.

About Advent of Code

Advent of Code is an annual event where participants solve daily coding puzzles during the month of December. The puzzles range from simple logic problems to more complex algorithmic challenges. Each day presents a new set of problems, and the solutions often get progressively harder.

My Approach

  • Language: Go (Golang)
  • Style: I aim for clean, readable, and efficient code while solving the problems. Each day's solution is contained in its own folder for easy navigation.
  • Commit Frequency: I commit solutions daily, typically after solving both parts of the problem.

Structure of the Repository

Each day's challenge is organized into its own directory:

  • 20xx: Contains the solutions for Advent of Code 20XX.
  • DayXX: Contains the solutions for Day XX of Advent of Code 20XX.
  • main.go: Solution for the first&second part of the puzzle.

Running the Code

To run any solution, follow these steps:

  1. Make sure you have Go installed. You can download it from the official Go website.
  2. Clone this repository:
    git clone https://github.com/MichaelCTH/AdventOfCode.git
    cd AdventOfCode
  3. Navigate to the specific dayโ€™s folder and run the solution. For example:
    cd 2024/Day01
    go run main.go

Contributing

Feel free to explore the solutions or suggest improvements! If you want to contribute, just fork the repository and open a pull request with your improvements or alternate solutions.

License

This repository is open source and available under the MIT License. See the LICENSE file for more details.

Feedback

If you have any suggestions or want to discuss specific solutions, feel free to open an issue or reach out!

About

Welcome to my Advent of Code solutions! ๐ŸŽ„

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages