Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rarescosma/advent-of-code-2022

Solutions to all 25 Advent of Code 2022 problems in Python with a dash of Rust. :snake: :crab:
https://github.com/rarescosma/advent-of-code-2022

advent-of-code advent-of-code-2022 adventofcode aoc aoc2022 python rust

Last synced: 1 day ago
JSON representation

Solutions to all 25 Advent of Code 2022 problems in Python with a dash of Rust. :snake: :crab:

Awesome Lists containing this project

README

        

# Advent of Code 2022 :christmas_tree:
Solutions to all 25 Advent of Code 2022 puzzles mostly written in Python (in an attempt to get back some Python foo) save for days [12](2022/src/bin/day12.rs) and [24](2022/src/bin/day24.rs) which involve [Dijsktra's algorithm](https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm) so had to be done in Rust to re-use the [generic implementation](https://github.com/rarescosma/advent-of-code-2021-rs/blob/main/crates/aoc_dijsktra/src/lib.rs) from last year. :snake: :crab:

Thanks [@ericwastl](https://twitter.com/ericwastl) for providing the challenge.

## Usage
```sh
./run.sh # sequential run of all days
./par.sh # parallel run of all days
./run.sh [INTERPETER] # sequential run of all days using specified INTERPRETER (eg. pypy)
./par.sh [INTERPETER] # parallel run of all days using specified INTERPRETER (eg. pypy)
```