Unique Paths, If there exists a path, you are required to determine the distance between the nodes … DP 10.