Bridge Repair [Day 7 - Advent of Code 2024 - Python] @0xdf
Bridge Repair [Day 7 - Advent of Code 2024 - Python]  @0xdf
Uploaded December 2024 | Updated November 2026, 1 day ago
I'm given a target number and a list of numbers and have to find the way to combine the numbers using add and multiple to get the target. In part 2, I can use concatenate as well.

2024 AOC repo: gitlab.com/0xdf/aoc2024
2024 AOC Intro vide: youtube.com/watch?v=4XKZZrhhiQE
VSCode Debug video: youtube.com/watch?v=cNhtk2Ob4B8

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

[00:00] Part1 introduction
[01:25] Setup / data overview
[02:55] Recursive check_possible function
[07:00] Feeding lines to check_possible
[09:04] Fix issue and solve part 1
[10:07] Part 2 challenge
[10:30] Refactor part 1
[11:26] Adding part 2 to main loop
[12:33] Adding concatenation check
[14:24] Fixing issue with exhausted string
[15:30] Fixing issue missing part2 bool in call
[16:24] Solving part 2

#adventofcode #python
Bridge Repair [Day 7 - Advent of Code 2024 - Python]Day 14: Parabolic Reflector Dish [AOC2023 Python]Day 23 - Safe Cracking [Revival of Code 2023 - Advent of Code 2016]Oddly Even [HackTheBox - Coding Challenge]Free AI HTB TutorDay 20: Pulse Propagation [AOC2023 Python]Malicious LNK File Analysis0o337 [0xff: One Last Address]HackTheBox Napper: Read Elastic, Generate Key, Decrypt Blob in GolangExploring a Simple Ruby Web Application [HackTheBox Precious Beyond Root]OnlyHacks [HackTheBox Web Challenge]Reactor [AOC2025 Day 11]
0xdf |

Bridge Repair [Day 7 - Advent of Code 2024 - Python]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER