Back to Browse

Day 2: Cube Conundrum [AOC2023 Python]

472 views
Dec 2, 2023
10:57

For Advent of Code 2023 Day2, each line of text represents a game. Each game is a series of observations of colored cubes being pulled from a bag. I'll be asked to first determine which games are possible, and then to find the minimum number of cubes in each bag. Code 2023 AOC: https://gitlab.com/0xdf/aoc2023 Challenge Link: https://adventofcode.com/2023/day/2 ☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf #adventofcode #python [00:00] Part 1 description [01:00] genday / input review [01:38] Create target [02:50] Parsing lines [04:53] Adding check for part1 [05:51] Running part 1 [06:15] Debugging newline issue [07:10] Solving part 1 [07:26] Part 2 description [08:08] Adding part 2 to loop [10:15] Solving Part2

Download

1 formats

Video Formats

360pmp419.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Day 2: Cube Conundrum [AOC2023 Python] | NatokHD