Go Advent Calendar
2022, Day 3
How to solve Leetcode 1401
by Nathan Naveen