Solution - Day 12

Advent of Code 2023

[Source Code]

--- Day 12 ---

Part 1: 7916

Part 2: 37366887898686

Input