Leetcode 2421. Number of Good Paths - Python

Published --