Disk Fragmenter [Day 9 - Advent of Code 2024 - Python] @0xdf
Disk Fragmenter [Day 9 - Advent of Code 2024 - Python]  @0xdf
Uploaded December 2024 | Updated November 2026, 3 hours ago
This challenge involves taking a string of numbers and manipulating it to handle empty space on a disk. Nothing too complicated, though easy to mess up on the logic.

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:45] Setup / data overview
[02:20] Parsing input into disk list
[05:08] Fragmenting disk
[08:16] Calculate checksum
[08:35] Solving part 1
[08:48] Part 2 challenge
[09:43] Re-parsing input into dict/list
[12:27] Looping over files to move them
[16:16] Calculating checksum
[17:29] Fixing logic bug
[18:34] Solving part 2

#adventofcode #python
Disk Fragmenter [Day 9 - Advent of Code 2024 - Python]Reassembling Werkzeugs Pin - Hacking Flask Debug Mode [Part 1]Keypad Conundrum [Day 21 - Advent of Code 2024 - Python]Modifying .NET Exe: Encrypt to Decrypt [HackTheBox Coder]Day 20 - Firewall Rules [Revival of Code 2023 - Advent of Code 2016]Day 5 - How About a Nice Game of Chess? [Revival of Code 2023 - Advent of Code 2016]Hacking the HackTheBox Code EditorRelic Maps [Forensics - Cyber Apocalypse 23 CTF]Guard Gallivant [Day 6 - Advent of Code 2024 - Python]RAM Run [Day 18 - Advent of Code 2024 - Python]Reindeer Maze [Day 16 - Advent of Code 2024 - Python]Malicious JavaScript Vjw0rm / STRRAT Analysis
0xdf |

Disk Fragmenter [Day 9 - Advent of Code 2024 - Python]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER