https://github.com/kzkedzierska/aoc
My #AdventofCode solutions
https://github.com/kzkedzierska/aoc
advent-of-code advent-of-code-2022 advent-of-code-2023-python
Last synced: 7 months ago
JSON representation
My #AdventofCode solutions
- Host: GitHub
- URL: https://github.com/kzkedzierska/aoc
- Owner: kzkedzierska
- Created: 2020-12-28T13:36:24.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-11T19:05:07.000Z (about 1 year ago)
- Last Synced: 2024-09-12T05:21:39.903Z (about 1 year ago)
- Topics: advent-of-code, advent-of-code-2022, advent-of-code-2023-python
- Language: Jupyter Notebook
- Homepage:
- Size: 12.5 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My Advent of Code (AoC) solutions
```
π π
/_\ /_\
/___\ /___\
/_____\ /_____\
/_______\ /_______\
/_________\ /_________\
_ _ _ __ ___ _
/_\ __| |_ _____ _ _| |_ ___ / _| / __|___ __| |___
/ _ \/ _` \ V / -_) ' \ _| / _ \ _| | (__/ _ \/ _` / -_)
/_/ \_\__,_|\_/\___|_||_\__| \___/_| \___\___/\__,_\___|
||| |||
||| |||
~~~~~~~~~ ~~~~~~~~~
π π
```
This repository contains my solutions to Advent of Code puzzles. I started solving them in [2020](#2020), and I'm continuing to do so in [2022](#2022), [2023](#2023), and [2024](#current-2024). So far, I didn't have time to solve all the puzzles in a given year, especially when work gets busy, puzzles get harder and itβs time to prepare for Christmas. Hoping this year will be different. π€
About Advent of Code
## About AoC
From the [subreddit Wiki](https://www.reddit.com/r/adventofcode/wiki/index):
> Advent of Code is a series of small programming puzzles for a variety of skill levels. They are self-contained and are just as appropriate for an expert who wants to stay sharp as they are for a beginner who is just learning to code. Each puzzle calls upon different skills and has two parts that build on a theme.
You can access the problems here: [adventofcode.com](https://adventofcode.com/). It will show you the most recent problems. If you want to access other year just type [adventofcode.com/2019](https://adventofcode.com/2019) for the year 2019.
## Current: 2024
For `AoC 2024` I will solve the problems in `Python` (and sometimes I'll add `Bash` solution). Each day's solution is linked to its rendered HTML output and notebook source.
For an overview of my journey and insights, check out my [blog post on AoC 2024](https://kasia.codes/posts/aoc24/). βοΈ
| Day | Links |Part 1|Part 2|
|:--:|:------------------------------------------------------------------------------------------:|:----:|:----:|
|1 | [π HTML](http://kasia.codes/resources/aoc/2024/day_01) Β· [π Notebook](2024/day_01/notebook.ipynb) Β· [π» Bash](2024/day_01/solution.sh) | β | β |
|2 | [π HTML](http://kasia.codes/resources/aoc/2024/day_02) Β· [π Notebook](2024/day_02/notebook.ipynb) | β | β |
|3 | [π HTML](http://kasia.codes/resources/aoc/2024/day_03) Β· [π Notebook](2024/day_03/notebook.ipynb) Β· [π» Bash](2024/day_01/solution.sh) | β | β |
|4 | [π HTML](http://kasia.codes/resources/aoc/2024/day_04) Β· [π Notebook](2024/day_04/notebook.ipynb) | β | β |
|5 | [π HTML](http://kasia.codes/resources/aoc/2024/day_05) Β· [π Notebook](2024/day_05/notebook.ipynb) | β | β |
|6 | π HTML Β· [π Notebook [WIP]](2024/day_06/notebook.ipynb) | β | |
|7 | π HTML Β· [π Notebook [WIP]](2024/day_07/notebook.ipynb) | β | β |
|9 | [π HTML](http://kasia.codes/resources/aoc/2024/day_09) Β· [π Notebook](2024/day_09/notebook.ipynb) | β | β |
|16| [π HTML](http://kasia.codes/resources/aoc/2024/day_16) Β· [π Notebook](2024/day_16/notebook.ipynb) | β | β |
|17| [π HTML](http://kasia.codes/resources/aoc/2024/day_17) Β· [π Notebook](2024/day_17/notebook.ipynb) | β | β |
|18| [π HTML](http://kasia.codes/resources/aoc/2024/day_18) Β· [π Notebook](2024/day_18/notebook.ipynb) | β | β |
|19| [π HTML](http://kasia.codes/resources/aoc/2024/day_19) Β· [π Notebook](2024/day_19/notebook.ipynb) | β | β |
2023
For `AoC 2023` I am solving them in Python, in Jupyter notebooks (run in VS Code). I don't keep the inputs, as per the request of the creator of Advent of Code. I have GitHub Copilot running in VS Code, but only use it for autocompletion, the ideas for solutions and their implementation is mine. I also use GitHub Copilot for doc strings and minor improvements after I solve the tasks.
| Day | Part 1 | Part 2 | | Day | Part 1 | Part 2 |
| :-: | :----: | :----: | :-: | :-: | :----: | :----: |
| [1](2023/Day01.ipynb) | β | β | | [8](2023/Day08.ipynb) | β | β |
| [2](2023/Day02.ipynb) | β | β | | [9](2023/Day09.ipynb) | β | β |
| [3](2023/Day03.ipynb) | β | β | | 10 | | |
| [4](2023/Day04.ipynb) | β | β | | 11 | | |
| [5](2023/Day05.ipynb) | β | | | 12 | | |
| [6](2023/Day06.ipynb) | β | β | | 13 | | |
| [7](2023/Day07.ipynb) | β | β | | 14 | | |
2022
For `AoC 2022` I decided to solve the problems by writing up my solutions in Quarto Publication (so far using `Python`). You can look up the answers in the online version of the notebook [here](https://kzkedzierska.quarto.pub/advent-of-code-2022/).
[](https://kzkedzierska.quarto.pub/advent-of-code-2022/)
[](https://github.com/kzkedzierska/aoc/actions/workflows/publish.yml)
2020
In 2020, I solved `AOC 2020` challenges using `R` with solutions organised and split into subdirectories, you can check them out [here](/2020).