Skip to content

shebugs/aoc-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Advent of Code Solutions

Repository for storing solutions to Advent of Code, organized by year and day.

Structure

advent-of-code/
├── .gitignore
├── README.md
├── 2023/
│   └── day01/
│       ├── part1.js
│       ├── part2.js
│       └── input.js
└── 2024/
    └── day01/
        ├── part1.js
        ├── part2.js
        └── input.js
  • YYYY/ → Year directory
  • dayXX/ → Day directory
  • part1.js, part2.js → Solutions
  • input.js → Puzzle input as an ES module exporting the input value (ignored)

Usage

Run with Node.js from the repository root:

node 2024/day01/part1.js
node 2024/day01/part2.js

Input

Puzzle inputs are not committed, following Advent of Code guidelines.

Each input file is an ES module named input.js that exports the puzzle data. For example:

export const input = `your input text here`;

To run a solution:

  1. Download your personal input
  2. Place it in the corresponding dayXX/ directory as input.js

Status

No puzzles solved yet.

About

Documenting my Advent of Code journey with a focus on problem-solving techniques rather than language-specific features.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors