This repository contains my solutions to Advent of Code challenges. Advent of Code is an annual coding event with daily programming puzzles released from December 1st to December 25th.
A custom leaderboard visualization dashboard is available in the leaderboards directory. Features include:
- Interactive JSON file upload for leaderboard data
- Key statistics:
- Total participants and stars
- Median stars per participant
- Number of participants who completed all available days
- Number of participants who haven't started yet
- Fastest completion times for each day
- Visual progress tracking for each participant
- Time-based completion graphs
- Responsive design with dark theme
- Scroll-to-top functionality
To use the dashboard:
- Go to your private leaderboard on Advent of Code
- Click the [JSON] link to download your leaderboard data
- Open
leaderboards/default.htmlin a browser - Upload your JSON file using the file picker
- 2023: Not Attempted
- 2022: Not Attempted
- 2021: Not Attempted
- 2020: Not Attempted
- Each day's solution is in its own directory
- Input files are stored as
input.txtin the respective day's directory - Problem descriptions are in
question.mdfiles - To run a solution:
cd 2024/day-1 python solution.py
- Solutions aim to be clear and readable rather than code-golfed
- Each day's directory includes:
- Solution code (
solution.py) - Input data (
input.txt) - Problem description (
question.md) - Part 2 description (
question-2.md) when applicable - Unit tests (
unit_tests.py) for solutions that require them- Solutions with unit tests run tests before executing the actual solution
- Tests verify both example cases and edge cases where applicable
- Solution code (
- β = First part completed
- ββ = Both parts completed
- Blank = Not started/In progress
This project is licensed under the MIT License - see the LICENSE file for details.
β‘ Created with β€οΈ by Ricus Nortje