Day 5: Supply Stacks [AOC2022 Python]

Publié le: 05 décembre 2022
sur la chaîne: 0xdf
434
16

Day 5 shows a group of stacks of crates that I need to parse, and then execute a series of instructions against, slightly differently in each of the two parts. I'll use Python with default dicts representing my stacks.

Code 2022 AOC: https://gitlab.com/0xdf/aoc2022
Challenge Link: https://adventofcode.com/2022/day/5

☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf

#adventofcode #python

[00:00] Introduction
[00:21] Part 1 description
[01:26] Generating stub, looking at input
[01:50] Breaking down three parts
[02:07] Parsing initial crate placements
[08:27] Running instructions to move crates
[10:14] Printing crates along each move to check
[12:52] Building part1 solution string
[13:38] Part 2 description
[13:54] Adding part2


Sur cette page du site, vous pouvez voir la vidéo en ligne Day 5: Supply Stacks [AOC2022 Python] durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur 0xdf 05 décembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 434 fois et il a aimé 16 téléspectateurs. Bon visionnage!