gperakis / advent-of-code-python

This repo holds solutions about the Advent of Code programming puzzles.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code in Python

This repository contains my solutions for Advent of Code programming puzzles.

More info about Advent of Code may be found here: https://adventofcode.com/2021

All solutions are implemented in Python.

To run a solution use the python -m approach like the following

$ python -m day1

Execution Times

(checked using jupyter notebooks)

  • Day 4
    • Part 1: 5.14 ms ± 55.6 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
    • Part 2: 14.1 ms ± 327 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
  • Day 5
    • Part 1: 51.1 ms ± 3.49 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)
    • Part 2: 97.2 ms ± 4.56 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)

License

Copyright (c) 2021 George Perakis

This project is licensed under the MIT License.

About

This repo holds solutions about the Advent of Code programming puzzles.

License:MIT License


Languages

Language:Python 100.0%