Solution - Day 19

Advent of Code 2023

[Source Code]

--- Day 19 ---

Part 1: 397643

Part 2: 132392981697081

Input