adventofcode

module
v0.0.0-...-1fb4a33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2024 License: BSL-1.0

README

Advent of Code Solutions

This repository contains my solutions for the Advent of Code challenges. Each year is organized into its own folder, with the corresponding problems and solutions.

Structure

  • year/2024/: Folder for each year.
    • day1/, day2/, ...: Solutions for each day.
      • testdata/ - Test input files
      • go/, ts/, rust/ - Implementations
  • Example: Day 1

Usage

  1. Clone the repository:
    git clone https://github.com/illiafox/adventofcode.git
    
  2. Navigate to the appropriate folder:
    cd year/2024/day1
    
  3. (Optional) Add your inputs into testdata folder
    cp /path/myinput.txt testdata/
    
  4. Choose and run any available implementation:
    # For golang 
    go run go/main.go testdata/input.txt # or testdata/myinput.txt
    

Leaderboard

I'm participating in a private leaderboard with code 3470240-72ff333e. To join it, visit Private Leaderboards page and enter the code above

Contributing

Please refer to CONTRIBUTING.md

Todo:
  • Tests
  • Day 9

License

This repository is open-source and available under the BSL-1.0 license.

Years
  • 2024 - soon!
  • 2023

Directories

Path Synopsis
year
2024/day1/go command
2024/day2/go command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL