I was trying to solve 797. All Paths From Source to Target from Leetcode. I thought of using Backtracking with recurssion. In the below code, the list setO