For Advent of Code 2023 Day 9, I get a bunch of lines, each with a pattern of numbers. For each line, I need to find the next number in the pattern. I'll use a recurrsive function to find the next item. In part two, I need to do the same but in reverse, so I'll just reverse the input.
Code 2023 AOC: https://gitlab.com/0xdf/aoc2023
Challenge Link: https://adventofcode.com/2023/day/9
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Part 1 description
[01:43] Input analysis
[02:30] Recurrsive get_next
[04:58] Calculating answer
[05:37] Running on examples and solving
[06:05] Part 2 description
[06:22] Solve part 2
[06:55] Summary
#adventofcode #python
Watch video Day 9: Mirage Maintenance [AOC2023 Python] online without registration, duration hours minute second in high quality. This video was added by user 0xdf 09 December 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 16 once and liked it 1 people.