My solutions for Advent of Code 2021 ๐ŸŒŸ๐ŸŽ„

Overview

๐ŸŒŸ Advent of Code 2021 ๐ŸŽ„

My solutions for Advent of Code 2021.

GitHub code size in bytes Number of lines of code Code language count GitHub top language GitHub last commit

About ยท What is Advent of Code? ยท Contents ยท Usage ยท Table of puzzles


(TODO: add final picture of AoC calendar)

๐Ÿ—ฃ๏ธ About

(TODO: impressions about this year's event)

๐ŸŒŸ What is Advent of Code?

๐Ÿš€ TLDR: an online event where a two-part programming puzzle is released each day from Dec 1st to 25th.

Advent of Code is an online event created by Eric Wastl. In his words:

Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other.

Source: https://adventofcode.com/about

๐Ÿ“‘ Contents

My solutions for the puzzles are available in the folder ๐Ÿ“ my_solutions and are organized into subfolders for each day of the event.

In this folder's root, the following files can be found:

  • puzzle_solver.py - main framework developed to streamline coding.
  • solve_puzzles.py - script for running the puzzle solving codes.
  • Makefile - used for starting the execution of the above script.

Inside each subfolder, the following files can be found:

  • input_test.txt - text file containing input from tests given in the puzzle.
  • input.txt - text file containing my personal input for the puzzle.
  • main.py - Python code for solving the puzzle.

๐Ÿ› ๏ธ Usage

Solve puzzle for a certain day:

make day=01

Solve puzzle for a certain day and part:

make day=08 part=1
make day=08 part=2

Solve puzzle for testing input:

make test day=12
make test day=12 part=1

Create a new day folder from template:

make new day=02

๐Ÿ—“๏ธ Table of puzzles

DAY PUZZLE TITLE PUZZLE SUMMARY
๐Ÿ“ 01 Title ๐Ÿ“ƒ Input: .
โญ Part One: .
โญ Part Two: .
Owner
Amanda P. Pinha
๐Ÿ’ป Software Engineer @ Geekie | ๐ŸŽ“ Cadet @ 42saopaulo (apuchill) | ๐Ÿ—ฃ๏ธ Private Teacher (FR EN PT)
Amanda P. Pinha
Simple Denial of Service Program yang di bikin menggunakan bahasa pemograman Python,

Peringatan Tujuan kami share code Indo-DoS hanya untuk bertujuan edukasi / pembelajaran! Dilarang memperjual belikan source ini / memperjual-belikan s

SonLyte 8 Nov 07, 2021
Diff Match Patch is a high-performance library in multiple languages that manipulates plain text.

The Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text. Diff: Compare two blocks o

Google 5.9k Dec 30, 2022
An alternative app for core Armoury Crate functions.

NoROG DISCLAIMER: Use at your own risk. This is alpha-quality software. It has not been extensively tested, though I personally run it daily on my lap

12 Nov 29, 2022
Sorter makes file organisation and management easier.

Sorter Sorter makes file organisation easier. It simply helps you organise several files that contain similar characteristics into a single folder. Yo

Aswa Paul 34 Aug 14, 2022
kodi addon 115็ฝ‘็›˜

plugin.video.115 kodi addon 115็ฝ‘็›˜ ๆ’ไปถ,้œ€่ฆkodi 18ไปฅไธŠ็‰ˆๆœฌ๏ผŒๅŽŸ็ ๆ’ญๆ”พ้œ€้…ๅˆ https://github.com/feelfar/115proxy-for-kodi ไฝฟ็”จ ๅฎ‰่ฃ… HEAD ็”ฑไบŽreleaseๅŒ…ๅฐšๆœช้‡Šๅ‡บ๏ผŒๅฏ็›ดๆŽฅไธ‹่ฝฝๆบไปฃ็ zipๅŒ…

109 Dec 29, 2022
firefox session recovery

firefox session recovery

Ahmad Sadraei 5 Nov 29, 2022
A little tool that uses LLVM to extract simple "what does this do" level instruction information from all architectures.

moirai: MOre InstRuctions and Information Backcronym. Anyway, this is a small project to extract useful instruction definitions from LLVM's platform d

2 Jul 30, 2022
This is a simple web interface for SimplyTranslate

SimplyTranslate Web This is a simple web interface for SimplyTranslate List of Instances You can find a list of instances here: SimplyTranslate Projec

4 Dec 14, 2022
Arknights gacha simulation written in Python

Welcome to arknights-gacha repository This is my shameless attempt of simulating Arknights gacha. Current supported banner types (with potential bugs)

Swyrin 3 May 07, 2022
An extension module to make reaction based menus with disnake

disnake-ext-menus An experimental extension menu that makes working with reaction menus a bit easier. Installing python -m pip install -U disnake-ext-

1 Nov 25, 2021
A tool for RaceRoom Racing Experience which shows you launch data

R3E Launch Tool A tool for RaceRoom Racing Experience which shows you launch data. Usage Run the tool, change the Stop Speed to whatever you want, and

Yuval Rosen 2 Feb 01, 2022
๐Ÿค–๐ŸงญCreates google-like navigation menu using python-telegram-bot wrapper

python telegram bot menu pagination Makes a google style pagination line for a list of items. In other words it builds a menu for navigation if you ha

Sergey Smirnov 9 Nov 27, 2022
AHP Calculator - A method for organizing and evaluating complicated decisions, using Maths and Psychology

AHP Calculator - A method for organizing and evaluating complicated decisions, using Maths and Psychology

16 Aug 08, 2022
Restaurant-finder - Restaurant finder With Python

restaurant-finder APIs /restaurants query-params: a. filter: column based on whi

Kumar saurav 1 Feb 22, 2022
A pure-Python codified rant aspiring to a world where numbers and types can work together.

Copyright and other protections apply. Please see the accompanying LICENSE file for rights and restrictions governing use of this software. All rights

Matt Bogosian 28 Sep 04, 2022
Multiperiod Reports by Month/Quarter/Year in Beancount.

Multiperiod Reports by Month/Quarter/Year in Beancount. Plotting income and expenses over time. Treemap plot of expenses.

Altynbek Isabekov 16 Aug 13, 2022
A Lite Package focuses on making overwrite and mending functions easier and more flexible.

Overwrite Make Overwrite More flexible In Python A Lite Package focuses on making overwrite and mending functions easier and more flexible. Certain Me

2 Jun 15, 2022
Some ideas and tools to develop Python 3.8 plugins for GIMP 2.99.4

gimp-python-development Some ideas and tools to develop Python 3.8 plugins for GIMP 2.99.4. GIMP 2.99.4 is the latest unstable pre-release of GIMP 3.

Ismael Benito 53 Sep 25, 2022
Mata kuliah Bahasa Pemrograman

praktikum2 MENGHITUNG LUAS DAN KELILING LINGKARAN FLOWCHART : OUTPUT PROGRAM : PENJELASAN : Tetapkan nilai pada variabel sesuai inputan dari user :

2 Nov 09, 2021
Team Hash Brown Science4Cast Submission

Team Hash Brown Science4Cast Submission This code reproduces Team Hash Brown's (@princengoc, @Xieyangxinyu) best submission (ee5a) for the competition

3 Feb 02, 2022