The question actually about the longest path that can be reached but test cases require you to reach the bottom else return -1
The question actually about the longest path that can be reached but test cases require you to reach the bottom else return -1