Print All Paths Leetcode Javascript Questions Basic