Number Of Good Paths Leetcode