Advent of Code Day 16 (Worked Solution for Parts 1 and 2)
Channel:
Subscribers:
2,650
Published on ● Video Link: https://www.youtube.com/watch?v=FfcjHeD7Z94
This was a fun AOC problem with a reasonably simple recursive solution to it. Basically you shoot out a laser beam and it bounces around the world, and you write down which squares it touches. The main thing is to make sure you don't fall into any infinite loops, so always get your base cases sorted out before going too deep into it.
Other Videos By Bill Kerney
2024-01-31 | C++ Operators |
2024-01-29 | C++ Timing Code, Benchmarking, UNIX Shell Scripting Automation |
2024-01-26 | Make a Makefile |
2024-01-24 | C++: Adding Iterator Support to our Vector Class |
2024-01-22 | C++ Rule of 3/5 and Vectors |
2024-01-22 | C++ Compiler Flags for Development |
2024-01-17 | Installing a Nerd Font on Windows |
2024-01-17 | Classes in C++ |
2024-01-10 | Review of First Semester C++ |
2023-12-19 | Advent of Code Day 1 (Worked Solution Parts 1 and 2) |
2023-12-19 | Advent of Code Day 16 (Worked Solution for Parts 1 and 2) |
2023-12-01 | Keith: The C++ Mascot |
2023-11-30 | Make a Metahuman Your Avatar |
2023-11-30 | UE5 Level Sequencer: Foosball Time |
2023-11-29 | Java for C++ Programmers |
2023-11-28 | Discussion of MoCap and Metahuman Creator |
2023-11-27 | The power of modification in computer science |
2023-11-22 | C++ Trivia & Trolling Quiz |
2023-11-21 | Quadtree Lecture 1/3: Writing helper classes for a Quadtree |
2023-11-21 | Quadtree Lecture 2/3: Writing a Quadtree & Insertion |
2023-11-20 | C++ Exceptions |
Tags:
aoc
c++
laser
recursion