Watch and track your favorite playlist.
Curated by: Xah Lee (862 videos)
Video Summary (Generated by AI, Edited by Human.) • This video is a live coding session where the host, Xah Lee, works on solving Advent of Code 2025, Day 6, Part 2, using Wolfram Language (0:09). • Explain the problem statement for Part 1 (1:58) and shows his solution in Wolfram Language (3:05). • The core of the video then shifts to understanding the more complex problem of Part 2 (3:50). • The speaker spends a significant amount of time understanding the problem, which involves reading numbers from right to left, column by column, with specific alignment rules (4:50). • Initially attempts an algorithm that involves padding numbers with zeros (17:01), but then realizes his understanding of the problem's alignment rules is incorrect (58:20, 1:01:46). • A key revelation (1:11:03) occurs when he understands that the exact spacing in the input text is crucial and must be preserved, leading to a new algorithm where the input is treated as a matrix of single characters (1:13:31). • The video concludes with him starting to implement this new approach (1:16:50), focusing on converting the text into a character matrix and then transposing it (1:17:41). • He also highlights a sneaky aspect of the Advent of Code problem, where trailing spaces in the input lines are significant (1:21:13). Notes at http://xahlee.info/talk_show/xah_talk_show_ep738.html If browser says security error, that is because it auto changes URL from HTTP to HTTPS. It's a way to censor 22 million old websites. Remove the S in HTTPS. Or use brave browser or safari.