Day 5: Supply Stacks [AOC2022 Python]

Veröffentlicht am: 05 Dezember 2022
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Day 5: Supply Stacks [AOC2022 Python] mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer 0xdf 05 Dezember 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 434 Mal angesehen und es wurde von 16 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!