Leetcode 2421. Number of Good Paths | Hello Interview