Solution - Day 8

Advent of Code 2023

[Source Code]

--- Day 8 ---

Part 1: 17621

Part 2: 20685524831999

Input