Hoof It [Day 10 - Advent of Code 2024 - Python] @0xdf
Hoof It [Day 10 - Advent of Code 2024 - Python]  @0xdf
Uploaded December 2024 | Updated November 2026, 3 hours ago
I'm given a grid with heights of the terrain. I need to find paths that move from 0 to 9 gradually increasing one each step. In part 1, I count the number of possible start / end combinations. In part 2, I count the number of possible trails between each start / end combination. I'll use breadth first search to knock this out quickly.

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
[00:53] Setup / data overview
[02:08] Parsing input into grid
[03:06] Finding starting points
[04:42] Starting BFS
[05:55] Looping over queue
[09:40] Summing all starts
[09:58] Fixing bugs
[10:56] Solving part 1
[11:25] Part 2 challenge
[12:04] Adding count
[13:20] Fumbling over pretty way to do 1 and 2 together
[13:54] Solving part 2
[14:11] Conclusion

#adventofcode #python
Hoof It [Day 10 - Advent of Code 2024 - Python]Build an HTTP Proxy to Abuse SSRF [HackTheBox - Response]Chronospatial Computer [Day 17 - Advent of Code 2024 - Python]LFI into RCE Abusing NGINX Temp Files [PikaTwoo - HackTheBox]Day 13: Point of Incidence [AOC2023 Python]Day 12: Hot Springs [AOC2023 Python]Day 4 - Security Through Obscurity [Revival of Code 2023 - Advent of Code 2016]Day 2: Cube Conundrum [AOC2023 Python]Day 15 - Timing is Everything [Revival of Code 2023 - Advent of Code 2016]Chrome Local Overrides [Snowball Showdown - Sans Holiday Hack 2024]Day 18: Lavaduct Lagoon [AOC2023 Python]Directory Traversal / File Read Into Zip with Python [HackTheBox Snoopy]
0xdf |

Hoof It [Day 10 - Advent of Code 2024 - Python]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER